Flashcards
Chapter 3
Flashcards do conjunto (12)
- 1Bytes are usually ...Characters
- 2input failure occurs whena char is entered into an int or double variable
- 3what is the syntax of the clear functionistreamVar.clear();
- 4what does a manipulatoris used to format the output, ex: endl
- 5what is the syntax of the setprecision manipulator and what does it dosetprecision(n), outputs decimal numbers up to n decimal places, #include needed
- 6what does the fixed manipulator do and what does it look likeoutputs floating point numbers in a fixed decimal format, cout << fixed;
- 7what does the scientific manipulator dooutputs floating point numbers in scientific format
- 8what does the showpoint manipulator doforces output to show the decimal point and trailing zeros
- 9What is the digit separator in C++' (single quote character)
- 10what does the setw manipulator dooutputs the value in a specified number of columns, setw(n)
- 11setfill manipulatorfill unused columns with a character setfill(ch)
- 12parameterized manipulators require the header wheras nonparameterized manipulators require theiomanip; iostream
Informações
- Descrição
- GRE CSC EGR FlashCards sobre Chapter 3, criado por Brooks Johnson em 16-02-2023.
- Criado por
- Brooks Johnson
- Visualizações
- 1
- Avaliação
Mais sobre Input, Output and File Handling