Hi, I'm a major C noob but trying real hard to understand what's going on. I would simply like to read in, line by line, from a text file and have each line stored in an array. In other code, like VB, I would simply do something like:
For each line in myTextFile
myArrayOfLines(i) = aLinefromMyTextFile;
But I realize this isn't possible with quite the ease. I've spent days trying to get something to work with multidimensional arrays of char type and having no luck.
I could really use some direction on how to store each line of text from a text file into an array, and then be able to print them all out, line by line.
Thanks a bunch !