Re: casting from std:string to char *
string s2(s1);
I realize s2 has a constructor, but I can't tell just by looking at definition (string.h)... where does it say?
Thanks!
Re: casting from std:string to char *
I have to ask this because the reason i choose c# over c++ in a second is mainly because i hate c++ strings. Look how many questions get asked on just strings.
Why does the string class not give you back a c string that can be modified? and also while we are at why cant the string class convert between all string types? TCHAR, char, strings, wchar, and all of them. Maybe b strings i can see it cant switch between them but the rest are all doable so why not do it?