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
Ranked #107.41K
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{ … |