What is use of setw() command | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is use of setw() command

26th Aug 2018, 10:30 AM
ayush maheshwari
ayush maheshwari - avatar
3 Answers
+ 6
Assuming that you are talking about C++, it is used to set the field width. https://www.geeksforgeeks.org/stdsetbase-stdsetw-stdsetfill-in-cpp/amp/
26th Aug 2018, 10:49 AM
Harsh
Harsh - avatar
0
Right
26th Aug 2018, 10:58 AM
ayush maheshwari
ayush maheshwari - avatar
26th Aug 2018, 11:03 AM
Ulisses Cruz
Ulisses Cruz - avatar