I want to add a variable of leading zero's to a string.
I couldn't find anything on Google, without someone mentioning (s)printf,
but I want to do this without (s)printf.
Does anybody of the readers know a way?
// assuming that `original_string` is of type `std:string`: std::string dest = std::string( number_of_zeros, '0').append( original_string);