Hi Everyone,
Just wondering how can I set the field width during printing. For e.g. how do I print something like the following in C++
printf("%-24s,%-24s %u\n", mystr, myint);
Tx !!
| 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 |