Im usng cin, and trying to recogninze a newline character like this:
Is this possible? or would I have to use something like getline()?Code:while( !cin.eof() ) {
cin >> row >> col;
if(col=='\n') {
occupied = row;
display_array(m1);
init_array(m1);
}
}