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
This is a discussion on cout question within the C++ Programming forums, part of the General Programming Boards category; Hello, the writeln instruction in Paskal language using ":number" results in formated output. Code: a:=13; writeln(a:5); {results in ----> _ ...
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.
Mac and Windows cross platform programmer. Ruby lover.
Quote of the Day
12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.
Amen brother!
thank you