Midterm 2 Flashcards
1
Q
Library containing text setting commands (width, precision, etc.)
A
include
2
Q
Command to set fixed notation
A
cout.set(ios::fixed);
3
Q
Command to set scientific notation
A
cout.set(ios::scientific);
4
Q
Command to set precision
A
cout.precision(6);
5
Q
In-line command to set fixed notation
A
cout «_space;fixed «
6
Q
In-line command to set scientific notation
A
cout «_space;scientific «
7
Q
In-line command to set precision
A
cout «_space;setprecision(6) «
8
Q
In-line command to set width
A
cout «_space;setw(6) «
9
Q
Function parameter
A
In function definition
10
Q
Function argument
A
In function call
11
Q
ASCII code for space
A
32
12
Q
ASCII code for 0
A
48
13
Q
ASCII code for A
A
65
14
Q
ASCII code for a
A
97
15
Q
Command to stop fixed notation
A
cout.unsetf(ios::fixed);