i want to display i as in 000Code:int i = 0; cout<< i;
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 |
Results 1 to 2 of 2
Thread: Displaying integerHybrid View
Tags for this Thread |
Click Here to Expand Forum to Full Width |