Read individual file lines
#1

I have a .txt file with 355 lines of different messages, i want to read each line and format it as its own string, how would one do this? I'm thinking sscanf might be needed? currently i have a loop for all the lines, but idk how to get it to read the specific line, also do the lines start at 1 or 0?
Edit: nvm i think i got it, i didn't understand the wiki at first
Reply


Messages In This Thread
Read individual file lines - by dowster - 26.07.2011, 21:19

Forum Jump:


Users browsing this thread: 2 Guest(s)