For some reason, the below code will not work (ie, the loop will not break out if either a 'Q' or 'q' is entered for line).
Help!Code:numelms = 81; char line[numelms]; while (*line != 'Q' || * line != 'q') { cin.getline(line, numelms); }
For some reason, the below code will not work (ie, the loop will not break out if either a 'Q' or 'q' is entered for line).
Help!Code:numelms = 81; char line[numelms]; while (*line != 'Q' || * line != 'q') { cin.getline(line, numelms); }