ftell() returns a long int, and the max value is declared in limits.h. If yours is like mine then the 4 gigs is too big.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,949 posts
since Aug 2005