How would I make the this
Code:
inFile.getline(temp, 10, ' ');
stop at both a ' ' and a newline. Right now it is reading in a file and when it hits the end of a line without a space it will read in that last value and the first value of the next line. How do I tell it to be more specific than just the space?