I'm trying to read in a group of numbers one at a time until I reach the end of the line from the input file. Something like this:
999323892...
I thought that it was possible to do something like this:
while ( input !='\n')//where input is type char
{...
But that doesn't seem to work, no errors, just gets caught in an endless loop. I just can't seem to recall how this should be written, any help would be great.