I need help reading lines from text files. I have been trying to read the first line just using getline(stream,line) assuming that my text file starts on the first line. This line of the text file is supposed to tell you how many lines there are so the next step I wrote while(x<= line) but I am unsure of how to read the 2nd or 3rd etc. line. Thanks in advance.