Computer Science, asked by mahendrakar72, 1 year ago

what is the purpose of SETW( )

Answers

Answered by karthik4894
6
std::setw. Sets the field width to be used onoutput operations. Behaves as if member width were called with n as argument on the stream on which it is inserted/extracted as a manipulator (it can be inserted/extracted on input streams or output streams).
Answered by sharanya6737
3

Set field width

Sets the field width to be used on output operations.

Behaves as if member width were called with n as argument on the stream on which it is inserted/extracted as a manipulator (it can be inserted/extracted on input streams or output streams).

Similar questions