Quote:
1) How is that possible?
He stated in his first post that he is using VC++. So there is nothing wrong with his iostream lib version.
|
VC++ Doesn't mean VC++6, There are far older version wich
might not support strings.
Quote:
|
2) What is the use of declaring a string ONLY (and only ) to convert it to a char?Might as well use a char straight away, you agree on this with me?
|
You're overreacting on the "converting part", You just add .c_str
at the end, That's it. That doesn't stack up with the built in
functions and enhancements that come with the String Class.