Size of text file
How can be count the number of rows in a .txt file? I''m copying text to array, each row taking up one array slot. But I don''t know how long the loop should go on.
You stop when you hit the end of file or run out of space to store the data.
Keys to success: Ability, ambition and opportunity.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement