Hi i encountered a problem while compiler this
if (operation != '+' || '-' || '*' || '/' )
{
cout << " Incorrect operation" <<endl ;
system ("calculator.exe") ;
}
I am trying to use system() to launch calculator.exe. I have used this method before, here's the old code.
if (repeat = 1)
{
system("parent.exe");
}
This is the error:
error: 'system' was not declared in this scope|