Use std::stringstream.
char *inputdata = GetCharBufData();
std::stringstream s;
s << inputdata;
int i;
s >> i;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |