Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Hintshigen
Forum: C Apr 11th, 2005, 4:33 PM
Replies: 2
Views: 331
Posted By Hintshigen
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
Posted By Hintshigen
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
Posted By Hintshigen
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
Posted By Hintshigen
Is there a way to terminate the gets command the...

Is there a way to terminate the gets command the help file says that it's terminated by a new line which is then replaced by a null terminator....

Here's the thing, the string the reg_no goes into...
Forum: C Apr 9th, 2005, 1:17 PM
Replies: 6
Views: 458
Posted By Hintshigen
Yeah I have gtotal initializing at 0 before main,...

Yeah I have gtotal initializing at 0 before main, and incrementing when selected in the menu when running create_student so it always starts at 1 and use position 0 to hold temp information elsewhere...
Forum: C Apr 9th, 2005, 12:29 PM
Replies: 6
Views: 458
Posted By Hintshigen
[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...
Showing results 1 to 6 of 6

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:43 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC