12345678
while(inputfile.get(wc)) { char character = inputfile.get(wc); if (character + 1 != NULL) { cout << character << endl; } }
12345
int n; if( std::cin>>n ) //read successful else //it was not a number