|
He could have an old <iostream> library not able to support
strings with cout. Using a variable before it's been defined
produces a "undeclared variable" error not a type conflict.
As i said, Try using abc.c_str() wich turns it into a Character
array instead of a string wich should be compatible with
non-string supporting cout's.
|