hello,
i am using an ifstream to read in characters from a text file into an array, and i need it to stop when it reaches a specific sequence of characters -- this i have done -- but, how do i get the line number in the file where it has stopped?
thanks in advance,
ernesth
i am using an ifstream to read in characters from a text file into an array, and i need it to stop when it reaches a specific sequence of characters -- this i have done -- but, how do i get the line number in the file where it has stopped?
thanks in advance,
ernesth