GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C Programming Language

Welcome to the C Programming Language forum.

Browse through the links below to find existing C Programming Language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C code in your posts and messages, please paste them between [cpp] and [/cpp] bbcode tags. This will syntax highlight your C code examples within a post. Please refer to the details here. Also see: C++.

Post New Thread
Threads in Forum : C Programming Language Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views
 
by WaltP
Guidelines for Posting Requests for Help version 3.1 GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
11-Nov-2007 22:05
by krystyna93 Go to last post
1 6,245
 
by Lala
This is what I have so far: #include <stdio.h> #include <stdlib.h> //count # of pixels of specified intensity in pgm image int main (int argc, char *args) {
19-Nov-2009 04:15
by Mexican Bob Go to last post
1 47
 
by psm
Good afternoon, please can you advice me, how to save some data to xml? I need it in language C. I will have some number (123341) from reader and I need to give it to xml with time, when it will be recieved. Thank you.
16-Nov-2009 16:46
by psm Go to last post
4 67
 
by emanresu
Hello, I am looking to upgrade my programs from Microsoft C version 6 to Visual Studio 2005 and am trying to compile the btrieve program btrapi.c. Unfortunately I get these errors: c:\dev\c\btitypes.h(145) : error C2143: syntax error : missing '{' before '*' c:\dev\c\btitypes.h(146 ) : error...
16-Nov-2009 04:19
by emanresu Go to last post
1 51
Question
by aijazbaig1
Hello folks, Im trying to create a simple program that allows a process to create a copy of a certain file. The parent reads from the file, sends the data over a pipe to child process. the child then reads data from the pipe. It creates a file and dumps the data that it read into this newly...
14-Nov-2009 11:24
by davekw7x Go to last post
1 84
 
by psm
Good evening, please can you help me with this code? I want to change it, because I must read some data from reader, which will be access to pc by rs232. Thank you. #include <windows.h> #include <stdio.h> int main(int argc, char *argv) {
14-Nov-2009 08:36
by psm Go to last post
7 143
 
by iblink
Hello. I am trying to push in into a stack characters one by one from a char array. It is prompted to stop when an asterisks '*' char is read. But it doesnt seem to work that way for me. I am having problem with the part where i compare each char to '*' while(input != '*'). I get no output from the...
12-Nov-2009 10:11
by fakepoo Go to last post
3 52
 
by claud10
Hi, I am actually programming in C++, but now I have to deal with a C library, and pure C is really out of my scope. This library has a function that, say, receives as parameter a pointer to a FILE stream. Let us say that it has the form void function_print ( FILE * f ) The function prints to the...
11-Nov-2009 13:35
by claud10 Go to last post
1 46
 
by OlaE
I need to add some kind of disriptive text to an allready defined array of a struct. Let me try to explain what my intention is, and se if it's doable. // variable that holds config data static char Mode; static char Com; //Structure that holds data + pointer to the variable //I have removed...
11-Nov-2009 08:25
by davekw7x Go to last post
5 141
 
by cheifjoe87
Ok the source code for the program is listed below,along with the program outline. And here are the problems with the program that im experiencing. Wedit output window build: Fri Nov 06 16:57:55 2009 e:\cop2000\project6\#6.c: Error #6.c: 47 operands of / have illegal types 'pointer to int' and...
08-Nov-2009 09:13
by Howard_L Go to last post
2 82
 
by fastest
Dear All, Im experiencing some problems with the dynamic allocation of a matrix, in fact the problem is a little bit more complicated: I come to the details. I want to read matrices from several files and perform some statistical analysis on those data. So I created a list of files which should...
06-Nov-2009 07:40
by Howard_L Go to last post
4 96
 
by nishu1988
I am just speculating my imagination that whether at all, is it possible to build a universal compiler....?? For example, if i am programming in c( I use turbo c++ 4.5), is it possible to embed java code and some other language so that when the program gets executed....the java code gets executed...
06-Nov-2009 06:07
by ocicat Go to last post
10 267
 
by d0ll3rb1ll
I am creating a program to show a person monthly payments they need to make on their loan. I am having problems with getting a value besides 0 to stick to i and balance, because of this when the loop runs the amount of balance, interest and prin stay the same. Hoping someone can point me in the...
05-Nov-2009 09:43
by davekw7x Go to last post
2 82
Question
by iblink
Hello. I have declared a structure array of a defined structure. Now i want to know how to find the number of entries i have in the array. The array is below. #define MAXEMPLOYEE 300 int main() { struct employeeInfo{ int depCode; int empNr; char firstName;
04-Nov-2009 10:49
by fakepoo Go to last post
5 124
 
by d0ll3rb1ll
I need a loop that will increase a variable start_pop by 10% each time and stop when it is larger than end_pop. While I do this I need to increase another variable year by 1 each time the loop runs. I got this but I doesn't do what I want it to do, hopefully someone can help me. Thanks. So if...
04-Nov-2009 08:49
by davekw7x Go to last post
4 99
 
by d0ll3rb1ll
As stated I need to write a program that asks for a positive number and keeps asking until its gets one then it outputs the results. The results need to be outputted like below. Thanks. The asterisks are suppose to be spaces. **1 2 3 1 1 2 3 2 2 4 6 3 3 6 9
04-Nov-2009 07:27
by Mexican Bob Go to last post
3 113
 
by d0ll3rb1ll
I want to add the numbers between x and y and not include x and y. So for example if x was 5 and y 9 the sum would be 21. When I run the program the output is 0. Hopefully someone can help me. I use the gcc compiler. #include <stdio.h> int main (void) { double x, y, sum, z; ...
04-Nov-2009 00:12
by Howard_L Go to last post
1 62
 
by nilusha6
I have a variable in header file something like, typedef struct aa{ ..... type_of_variable **p_variable; ... }aa; Then i want to cast some other variable to, that pointer. im getting that structer as a pointer variable in my function parameters.
29-Oct-2009 09:08
by Howard_L Go to last post
2 98
Question
by iblink
Hello. While trying to initialize an array in c, i get this error "too many initializers". I do understand what it means but i need help solving the problem. this is my array below. char arrmonths = {"January", "February", "March", "April", "May", "June", "July","August", "September",...
28-Oct-2009 18:19
by iblink Go to last post
2 109
Question
by iblink
Hello. I am trying to read info from a file into an array of a created structure. After running the program on visual studio 2008, it gives me no syntax error but this dialog box appears "debug assertion failed". Can anyone look at my code and tell me the problem.. Thanks in...
28-Oct-2009 18:18
by iblink Go to last post
5 197
 
by RahulJain83
Hi, I am Rahul. We have a complete software written out (with n other shared libraries maintained by various other teams). The shared libraries are loaded at run time by the main executable depending upon what feature user wants to run. All across our code, we are using printf and fprintf to print...
28-Oct-2009 02:03
by RahulJain83 Go to last post
2 127
Post New Thread

Recent GIDBlogProgramming ebook direct download available by crystalattice

Display Options Moderators
Showing threads 1 to 20 of 2658 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 15:47.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.