while (choice < 1 || (choice > 1 && choice < 2) || (choice > 2 && choice < 3) ||
(choice > 3 && choice < 4) || (choice > 4 && < 5) || choice > 5)
{
cout << "Menu choices are 1 - 5" << endl;
choice = getMenuChoice();
}
(25) : error C2059: syntax error : '<'
(26) : error C2143: syntax error : missing ';' before '{'
Line 25 = second line of while loop
Line 26 = line of the first bracket
Thank you

New Topic/Question
Reply




MultiQuote



|