Hi all, this short paragraph of code is to get the user to enter q to quit. But why is the value of c = input_line zero? What is the purpose of this line? Thanks!
cout << "More? (Press 'Q' and ENTER to quit.)";
c = input_line;
if (c == 'Q' || c == 'q')
input_line is the first character in the array. It does not refer to the array's size.
If the value of input_line is equal to "0", then your user is inputting "0".