Hello,
I've discover code::blocks today and I'm very surprising by this very good IDE.
Unfortunately, I've a problem with the iostream and string libraries. During a test, I've seen that I've the possibility to use a string without make an include of <string>. In others terms, the code below works instead invoke an error:
#include <iostream>
int main(){
std::string s1 = "C::B is the best.";
std::cout << s1 << std::endl;
return 0;
}
How is it possible and how can I avoid this? Because on VS2008 I've and error if I try to do that...
Sorry for my english, I'm french.
Thanks