467,917 Members | 1,411 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,917 developers. It's quick & easy.

output in textfile is too long

well i have a problem in my project..since the contents of my textfile is too long, i was wondering how to output the textfile in such a way that you can divide the contents to be able to output everything in an organized manner..

my problem is that since my textfile is too long, when i run the program, the output omits the first parts of the textfile and i end up only seeing the latter parts.. how can i solve this in c language?
Mar 13 '07 #1
  • viewed: 1506
Share:
1 Reply
fgets in a loop till you read a newline or EOF. Then you can rearrange the data received each time into a more readable format?
Mar 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Hans A | last post: by
5 posts views Thread by francescomoi | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.