+ 5

Setw???

28th Oct 2016, 8:47 PM
Shruti Singh
Shruti Singh - avatar
3 Answers
+ 2
std::setw is not a keyword, it's either an object instance or a function.
29th Oct 2016, 6:46 AM
Stefan
Stefan - avatar
12th Jan 2018, 11:29 AM
Mohamed Abusuhail. S
Mohamed Abusuhail. S - avatar
+ 1
It is an one of the keyword it's used for set width for one word... For eg: cout<<C++<<setw(10); Its show the output for 10 word space...
29th Oct 2016, 12:01 AM
Mohamed Abusuhail. S
Mohamed Abusuhail. S - avatar