Thread: Error here
View Single Post
Mentor
7Dec2008,23:19  
xpi0t0s's Avatar
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.