Help please this is buggin me!! I keep getting this error!, [Error] expected ';' before 'cout'

hey so I am new to c++ and I am using dev-c++ version 5.11 and I keep getting this message! Help me please,[Error] expected ';' before 'cout'

#include <iostream>

using namespace std;

int choice, value1, value2, reslult;

int main()
{


cout << "CALCULATOR\nBy Zack Lane\n\n";

while(true)
'('


"1. Add \n" <<<
"2. Subtract\n" <<
"3. Divide\n" <<
"3. Multiply\n" <<
"5. Exit\n\n" <<
"What would you like to do? "

cin >> choice

if'('choice == 5')'


')'

}




Btw: I am making a calculator
You have quotations around your parenthesis, such as in:
1
2
while(true)
'('

It should be a brace, {. You do the same thing with the parenthesis in your if statement.
Topic archived. No new replies allowed.