I was working on something just to practice building a menu so I can remember it for later.
The same error keeps coming up and I'm note sure what's wrong, could someone give me a hand.
haha, sorry, I'm new to this.
This is the code
{
#include "stdafx.h"
#include <iostream>
#include <conio.h>
#include <cstdlib>
using namespace std;
int main ()
{
char choice;
for (;;){
do{
cout << "This is a program to test the menu system";
cout << endl;
cout << endl;
cout << "1- option one\n";
cout << "2- option two \n";
cout << "3- option three \n";
cin >> choice;
}while choice ( choice < '1' || choice > '3' && choice != 'quit');
if (choice == 'quit' ) break;
switch (choice) {
case '1' :
cout << "TEST ONE";
break;
case '2':
cout << "TEST TWO";
break;
case '3':
cout << "TEST THREE";
break;
getch ();
return 0;
}