By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,412 Members | 996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,412 IT Pros & Developers. It's quick & easy.

output in textfile is too long

P: 3
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
Share this Question
Share on Google+
1 Reply


P: 39
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.