int i = 0;
cout<< i;
i want to display i as in 000
if my int i = 1, i want it to display 001.
how do i code it so that it works like that?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: kahjun Search: Search took 0.02 seconds.
Results 1 to 7 of 7
|
Click Here to Expand Forum to Full Width |