Should be like
Code:std::cout << std::left << std::setw(24) << mystr << ", 0x" << std::hex << std::right << std::setw(8) << std::setfill('0') << myint << std::endl;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: quick question on stringsThreaded View
|
Click Here to Expand Forum to Full Width |