05-07-2014, 01:04 AM | #27 | ||
Join Date: Mar 2006
Location: ,
Posts: 4,613
|
The problem is that if you don't want to read the whole file in one go, you need the FILE pointer to be moved from the start of the file to where you finished the last read.
Use fread(), it moves the pointer automatically, and allows you to read any number of numbers in each call. I think binary mode will be better than text. http://msdn.microsoft.com/en-us/library/kt0etdcs.aspx Quote:
__________________
Life starts every day anew. Prospects not so good... |
||
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
EoF Corner | Eagle of Fire | Offers | 6 | 03-02-2010 05:01 PM |
The end of the file corner | Eagle of Fire | Music, Art, Movies | 8 | 08-12-2009 12:09 AM |
Spoonman's Art Corner | Spoonman | Music, Art, Movies | 122 | 15-01-2009 09:35 PM |
Spoonman's Music Corner | Spoonman | Music, Art, Movies | 3 | 25-06-2005 05:18 PM |
|
|
||
  |