error in c++ programm

what does ambiguous operators need parenthesis in funtion main() error mean in turbo c++
Can you give a code example?
void main()
{
int x=2,y=3,z;
cout << x;
cout << x + x;
cout << "x=";
cout << "x = " << x;
cout << x + y << " = " << y + x;
z = x + y;
cin >> x >> y;
cout << "\n";
}
Maybe you have to put parentheses like this: cout << (x + x);
This shouldn't be necessary but Turbo C++ is old and pre-standard so I wouldn't be surprised.
thanks i know this but give me solid explanation for writing assighment
Topic archived. No new replies allowed.