The #include command tells the compiler to use the specified header file as part
of your program.
A file ending in .h which contains definitions of variables, classes, and
functions that may be useful in your code.
The usage of a programming language command; the form in which a statement must
Used for functions which have no return type; that is, functions that perform
actions but do not return an "answer."
Where C++ programs begin execution; must be present in every C++ program.
The basic C++ output command, defined in the iostream.h header file. cout
can print out all primitive data types and string constants using the <<
operator. E.g.: cout << "The average score is: " << 84.7 << endl;
Segments of code that behave as mini-programs. Functions are the building
blocks of full programs.
A human readable line or lines in a computer program. Often used to document
White space is composed of spaces, tabs, and newlines, all of which the compiler
ignores when compiling a program.
Variables are symbols in a program that take on values and which are manipulated
for the purposes of the program. Variables are the nuts and bolts of a program.
Classes are collections of variables and functions, which together form an
coherent, abstract thing referred to as an object.
Variables that are part of an object.
Functions belonging to a particular class which manipulate that class's data
A variable that is "visible" (or "in scope") to the entire program.
The possible types of variables. Some examples of data types are: integers,
characters and floating point numbers.
Escape sequences are symbols that represent special characters. For instance,
the escape sequence '\\n' represents the new line symbol, and '\\' represents
the backslash symbol.
A sequence of characters, usually represented between quotation marks. E.g.:
"There are 42 characters in this sentence.\\n"
A constant is a variable whose value does not change for the duration of a
program. To create a constant, declare a variable const. It must be
defined at declaration.
Enumerated data types are user-defined data types. Using the keyword enum,
a programmer can choose the values that each enumerated variable can take on.