Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
31 Cards in this Set
- Front
- Back
- 3rd side (hint)
Preprocessor Directive |
Sets up the source code for the compiler |
Begins with # |
|
Header File |
Contains the code that allows c++ display outputs |
<iostream> |
|
Namespaces |
Organizes the names of the program entities |
|
|
Function |
A group of one or more programming statements with a collective name |
|
|
Int |
Stands for integer |
|
|
String literal |
Quotation marks with text in them |
|
|
Stream object |
Working with a stream of data or characters |
Sent to cout<< |
|
Stream insertion operator |
cout << "..." |
|
|
Stream manipulator |
Used to manipulate a stream, "endL" |
|
|
Escape Sequence |
Allows you to control the formatting of outputs |
|
|
\n |
Newline Escape Sequence |
|
|
Variable Definition |
Tells the variable's name and the data it will hold |
|
|
= |
Assignment, gives variables a value |
|
|
Literal |
Piece of data written directly into a program's code |
Aka constants |
|
Identifier |
A programmer defined name that represents an element of the program |
Cannot be a key word |
|
Integer |
Whole numbers (-or+) |
|
|
Floating point |
Decimal numbers |
Can be negative |
|
Integer Literal |
Numeric literal treated as an integer |
|
|
'g' |
Character Literal |
|
|
Null Character |
Marks the end of a string (\0) |
Aka null terminator |
|
3.14 * 10^3 |
Mantissa |
|
|
Single precision |
Float data type |
|
|
Double precision |
Twice as big as float |
|
|
Long double |
Larger than double |
|
|
Truncated |
When the decimal if a number is discarded |
|
|
Boolean expression |
True or false value |
|
|
sizeof |
Reports the size of the data |
|
|
Operands |
Operated by operators |
|
|
Initialization |
Assigning variables a definition |
|
|
Scope |
Part of the program where the value is used |
|
|
Named Constant |
Similar to variable but cannot change values |
|