Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
setw() and <iomanip> Header
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
saiavinashiitr
New Member
Join Date:
Mar 2014
Posts:
16
#1
setw() and <iomanip> Header
Mar 17 '14, 01:34 PM
what does setw() function do??can u give an example...
when are <iomanip> and <sstream> header used???
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Mar 17 '14, 02:39 PM
setw is a manipulator. I can't answer this question unless you know about a) references, b) operator overloading, c) the std::basic_ostr eam class.
The sstream header is used with string streams. A string stream is an object that behaves like a stream.
Comment
Post
Cancel
saiavinashiitr
New Member
Join Date:
Mar 2014
Posts:
16
#3
Mar 17 '14, 07:25 PM
i want to know how does setw() works...pls tell with an example.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment