Ok, I get that. So are the messages stored in the buffer? Thanks for the help, but I am not a programmer and it has been 8 years since I have written in C. Obviously, this class is far advanced and...
Type: Posts; User: csmatheng
Ok, I get that. So are the messages stored in the buffer? Thanks for the help, but I am not a programmer and it has been 8 years since I have written in C. Obviously, this class is far advanced and...
I have an assignment to write a simple mail application program. I am working on the server side of things now, but I am stuck. I have the code working, but it doesn't satisfy requirements. I am...
I need to write a program that takes a command line argument of -d and -s and make each argument perform something different. I am supposed to write a DNS lookup for the -d argument which I am doing...
Thanks for the suggestion DavidP. I will give this a shot as well. I do appreciate the response.
I apologize Lurker for posting in the wrong forum. I was reading the game programming forum and forgot where I was when I posted.
Thanks for the suggestion. What you described is exactly the problem I am experiencing. I will certainly try adding that code to see if that will delay the termination so I can view the results.
I posting this message seeking some assistance on an issue I am experiencing. I have been helping a friend with writing C programs as he is currently in school. I have taken C a while ago, and I...
I would just like to add that I would also like to omit the statements in "main" to obtain the input from user and create a function called "GetInput" that would handle that so that "main" doesnt...
I have this program to write that will add two fractions input by the user. I need to do this using pointers to structs. I have the code written, but it will not run all the way through. Could...
I am sorry. It was NOT EXACTLY the same. I found the mistake. I was missing the comma in one of the scanf statements. I have corrected it and it works fine. Now, I need to figure out how to reduce...
It is EXACTLY the same except I just removed fflush(stdin) and I still get the same error.
Well I am going to be a good programmer, but I need to get through the basics first then get some experience. So does anyone have any idea why I am getting the error message when trying to compile...
lab1.c: In function "main":
lab1.c:21: invalids operands to binary &
Here is my code and it will compile and run perfectly in Borland, but using gcc in Unix, I get an error, "invalid operand to binary" or something along those lines and I have no idea what to do to...
It must be in fractional form though. The way you have it would be in decimal form. thanks though.
Is the only way to enter fractions in and scan them from the user is one number at a time as in, enter the numerator of fraction 1, enter the denominator of fraction 1 and have a scan statement in...
Hammer, " i " is set to the number of customers so I cannot use it to control the loop. I just need to add to the code I posted, so that it will only print 20 lines at a time. Thanks for your help...
I am completing a group project and I just found out that I need to print just 20 lines at a time. I have added the code I thought I needed to add, but it wouldnt work correctly. I know this is easy...
I believe I am building my linked list correctly. Now I need help to write a function that will allow me to search two elements of the data and return the third. This program is suppose to accept 3...
To Quzah, I would just like to inform you that the code I submitted for help would not have been the way I left the finalized version. I am fairly new at C and so I like to write the program...
I have to write a program using linked lists to allow the user to enter three integers, store them in a linked list, then ask the user for the values of the first two integers. Then I have to...
I am looking for a function that would ONLY allow the user to enter integers (0-9) ascii values 48-57. I have looked everywhere I know and even asked some other friends of mine but no one has any...