Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~93 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for lavendon89

I'm writing a program to read data and store it to file. However I am a bit confused by the EOF statement, and how to get my program to stop reading when there is no more data to read. My code looks like this [code]while((c=fgetc(fin2))!=EOF) { if(c=='#'){ while((c=fgetc(fin2))!='\n'){ }} else{ …

Member Avatar for WaltP
0
93