Hey guys,
I am new here and I am also new to computer programing in general. Anyways I am having trouble with a line in my program:
cout << '\n' << setw(3) <<num2+2;
The following error comes up in the compiler:
Warning ASP3_1.CPP 17: Ambiguous operators need parentheses in function main()
I totally confused at this point, anybody please help.
Tony.
P.S. Can anybody recommend a good book about c++ for newbies, my college text book sucks.
![]()



LinkBack URL
About LinkBacks



