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).

Code:
numelms = 81;
char line[numelms];

while (*line != 'Q' || * line != 'q')
{
cin.getline(line, numelms);
}
Help!