The type of ipArray[p] is a C++ std::string. Printf is a C function, and does not understand C++ classes; it expects the argument corresponding to a %s to be a const char*.
Try outputting...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Lindley Search: Search took 0.09 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |