Hi
Can anybody tell me why does it works :
#include
void sample()
{
string a=“blabla”;
char *b;
b=a.c_str(); // ???
cout<<b<<endl;
}
I’m not a guru of c++, but shouldn’t be a warning while convert from const char* to char* ?
Regards
jimmij