Hi,
I need someones help to Convert C++ strings to a C-style string (char*) in VC++ 6.0.
What I need to do is something as follows.
There is a string as,
string sh = “hello”;
I need to take the string in sh to
const char* tempd1 = .....
Thus I need someones help to do this.
Also if you can send me a way to convert a array of char(char st[]) to const char* .
Thanks
tdk