Hello,
the writeln instruction in Paskal language using ":number" results in formated output.
is there anything similar to this insruction in C++?Code:a:=13;
writeln(a:5); {results in ----> _ _ _ 13 (_ is blank)}
thank you
Arian
Printable View
Hello,
the writeln instruction in Paskal language using ":number" results in formated output.
is there anything similar to this insruction in C++?Code:a:=13;
writeln(a:5); {results in ----> _ _ _ 13 (_ is blank)}
thank you
Arian
Yes. Search on <iomanip> settings.
thank you