output in textfile is too long

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kachokaratz
    New Member
    • Mar 2007
    • 3

    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?
  • lqdeffx
    New Member
    • Mar 2007
    • 39

    #2
    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?

    Comment

    Working...