Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

zero fill in c++

#include <iomanip>
#include <iostream>

int main()
{
    std::cout << std::setfill('0') << std::setw(5) << 25;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fill
ADD COMMENT
Topic
Name
1+1 =