![]() |
Error here
Code:
#pragma onceas much as cout i m using errors are increasing. Error 1 error C2297: '<<' : illegal, right operand has type 'const char [18]' Warning 2 warning C4552: '<<' : operator has no effect; expected operator with side-effect |
Re: Error here
You've redefined cout as an int and set it to zero on the previous line.
The error is correct because you can't shift left an integer by a char array number of bits - this is meaningless. You can only shift an integer left by another integer. |
| All times are GMT +5.5. The time now is 04:16. |