Forum: C
Apr 11th, 2005, 4:33 PM
|
|
Replies: 2
Views: 331
With this part
fread(&student_index[i],...
With this part
fread(&student_index[i], sizeof(student_index), 1, fp);
Does the 1 indicate how many records I want to retrieve?
And if so, do I even need to have it in a for loop? Or, if I do have...
|
Forum: C
Apr 11th, 2005, 12:06 PM
|
|
Replies: 2
Views: 331
fread and fwrite
I'm having a problem with fread, at least I think it it's caused by fread. I'm trying to read and write to a text file using an array of struct. However when I uncomment the call funtion for...
|
Forum: C
Apr 10th, 2005, 8:56 AM
|
|
Replies: 6
Views: 458
Thanks, I got that part working now, I don't...
Thanks, I got that part working now, I don't fully understand how to use fgets yet, a bit out of my league I think. I read a bunch of stuff I found on the net about it, but the best I could make out...
|
Forum: C
Apr 9th, 2005, 9:46 PM
|
|
Replies: 6
Views: 458
|
Forum: C
Apr 9th, 2005, 1:17 PM
|
|
Replies: 6
Views: 458
|
Forum: C
Apr 9th, 2005, 12:29 PM
|
|
Replies: 6
Views: 458
[SOLVED] Variable array problem
I'm working on a project for one of my classes and I've run into a problem, normally I'd just ask one of the teachers but it's due Tuesday, and our classes don't resume until Tuesday.. anyways on to...
|