Thanks guys,
Prof is very particular of code, and the code he accepts is very convoluted. Quzah I will use the links you kindly gave for future reference.
Thanks again you guys were very...
Type: Posts; User: NewToC
Thanks guys,
Prof is very particular of code, and the code he accepts is very convoluted. Quzah I will use the links you kindly gave for future reference.
Thanks again you guys were very...
I use a 'learnc' complier and I was never taught the 'rb' mode.
I am only familiar with the 'r', 'r+', 'w', 'w+', 'a', 'a+' modes.
I am not getting anything from the infile in output and the...
Could you explain that to me please?
Also how do I extract an individual record from that struct?
Do I have to use a struct pointer to do that?
Hey guys-- I am stuck on the very last program of this semester
Problems with program:
1. Input file is only accepting the name, no other fields.
2. Outputting only the headers, no info from...
Thanks everyone, I got the program to compile but it still has some bugs. Salem, you are absolutely right. Formatting needs to be done more carefully.:)
Thanks I will try this.
This error message at the "void printpersontotal" function is making me insane (I guess I have been looking at this code too long)
Please help!
Thanks!
(->) -marks where cursor is located...
Thanks guys, my code was this:
void listrecords()
{fileptr=fopen("a:hospital", "r");
char option;
readfile();
.......
It finally dawned on me that my variables had to be declared first...
I am getting the syntax error message " ; before type char". I have searched high and low for a missing ";" but everything seems to be in the proper place. It is the last error in my program...