What library contains the modifiers end I, left, and right? What library contain
ID: 3697045 • Letter: W
Question
What library contains the modifiers end I, left, and right? What library contains the modifiers setw() and setfill()? What is the key difference between the items in questions 31 and 32? string name; cin>> name; If the user types "Jane Smith" for this statement, what will name contain? What are the whitespace characters? What does cin extraction (>>) do when it reaches whitespace in the input stream? What function can we use if we want to read all the data in a stream, including whitepace, up to a return character? cin. get (x); What data type does x have to be for this statement to compile? cin. get (x); cin.putback('a'); cin.get(y); cin.get(y); What will be stored in ? and y if the user types "AB" on the keyboard? cin.peek (ch); cin. get (chl); What will the values of ch and chl be if the user type ?' on the keyboard? Hello&&&&there; How can we output this line using setfill() and setw()?Explanation / Answer
32) ostream
33) iomanip
35) Jane (cin will accept till whiltespace chars only)
36) s, , are the whitespace characters
37) cin will cease when it receives a whitespace character
38) getline function
39) char
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.