You can get one from a nonempty vector<char> vec by taking &vec[0].
For that matter, if a const char* is good enough, then you can get one even more easily from a std::string using the .c_str()...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Lindley Search: Search took 0.07 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |