The new C++14 stream manipulator ________ enables a program to read quoted text from a stream, including any white space characters in the quoted text, and discards the double quote delimiters. For example, if we read 100 "Janie Jones" 24.98
Using
InClientFile>> account>> quoted(name) >> balance;
The first stream extraction reads 100 into the int variable account, the second reads Janie Jones as one string and stores it in the string variable name without the double-quote delimiters, and the third stream extraction reads 24.98 into the double variable balance.
A) discard
B) quoted
C) hide
D) literal
Correct Answer:
Verified
Q5: Random access files are more effective than
Q6: What is not true about this code
Q7: Which of the following functions would not
Q8: Which file open mode would be used
Q9: Select the false statement.
A) C++ imposes no
Q11: Select the false statement. The write function:
A)
Q12: Select the proper object type. _ file("file.dat",
Q13: A random access file is organized most
Q14: In order to perform file processing in
Q15: For an ifstream object A, a class
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents