Table of Contents
C++ Glossary Variables and Basic Types
# and Symbols
- & operator - Address-of operator. Yields the address of the object to which it is applied.“ (CppPrmLp 2012)
- * operator - Dereference operator. Dereferencing a pointer returns the object to which the pointer points. Assigning to the result of a dereference assigns a new value to the underlying object.” (CppPrmLp 2012)
- # ifdef - Preprocessor directive that determines whether a given variable is defined.“ (CppPrmLp 2012)
- # ifndef - Preprocessor directive that determines whether a given variable is not defined.” (CppPrmLp 2012)
A
- alias declaration - Defines a synonym for another type: using name = type declares name as a synonym for the type type.“ (CppPrmLp 2012)
- arithmetic types - Built-in types representing boolean values, characters, integers, and floating-point numbers.” (CppPrmLp 2012)
- array - Data structure that holds a collection of unnamed objects that are accessed by an index. Section 3.5 covers arrays in detail.“ (CppPrmLp 2012)
B
- base type - type specifier, possibly qualified by const, that precedes the declarators in a declaration. The base type provides the common type on which the declarators in a declaration can build.“ (CppPrmLp 2012)
- bind - Associating a name with a given entity so that uses of the name are uses of the underlying entity. For example, a reference is a name that is bound to an object.” (CppPrmLp 2012)
- const - Type qualifier used to define objects that may not be changed. const objects must be initialized, because there is no way to give them a value after they are defined.” (CppPrmLp 2012)
- constexpr - Variable that represents a constant expression. § 6.5.2 (p. 239) covers constexpr functions.” (CppPrmLp 2012)
- conversion - Process whereby a value of one type is transformed into a value of another type. The language defines conversions among the built-in types.“ (CppPrmLp 2012)
D
- data member - Data elements that constitute an object. Every object of a given class has its own copies of the class’ data members. Data members may be initialized when declared inside the class.” (CppPrmLp 2012)
- declaration - Asserts the existence of a variable, function, or type defined elsewhere. Names may not be used until they are defined or declared.“ (CppPrmLp 2012)
- declarator - The part of a declaration that includes the name being defined and an optional type modifier.” (CppPrmLp 2012)
- default initialization - How objects are initialized when no explicit initializer is given. How class type objects are initialized is controlled by the class. Objects of built-in type defined at global scope are initialized to 0; those defined at local scope are uninitialized and have undefined values.” (CppPrmLp 2012)
- definition - Allocates storage for a variable of a specified type and optionally initializes the variable. Names may not be used until they are defined or declared.“ (CppPrmLp 2012)
E
- escape sequence - Alternative mechanism for representing characters, particularly for those without printable representations. An escape sequence is a backslash followed by a character, three or fewer octal digits, or an x followed by a hexadecimal number.” (CppPrmLp 2012)
G
- global scope - The scope that is outside all other scopes.“ (CppPrmLp 2012). Contrast with local scope – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
H
- header guard - Preprocessor variable used to prevent a header from being included more than once in a single file.” (CppPrmLp 2012)
I
- identifier - Sequence of characters that make up a name. Identifiers are case-sensitive.“ (CppPrmLp 2012)
- in-class initializer - Initializer provided as part of the declaration of a class data member. In-class initializers must follow an = symbol or be enclosed inside curly braces.” (CppPrmLp 2012)
- in scope - Name that is visible from the current scope.“ (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
- initialized - A variable given an initial value when it is defined. Variables usually should be initialized.” (CppPrmLp 2012)
- inner scope - Scope that is nested inside another scope (nested scope).“ (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
L
- list initialization - Form of initialization that uses curly braces to enclose one or more initializers.“ (CppPrmLp 2012)
- literal - A value such as a number, a character, or a string of characters. The literal value cannot be changed. Literal characters are enclosed in single quotes, literal strings are enclosed in double quotes.” (CppPrmLp 2012)
- local scope - Colloquial synonym for block scope.“ (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
M
N
- nonprintable character - A character with no visible representation, such as a control character, a backspace, newline, and so on.” (CppPrmLp 2012)
- null pointer - Pointer whose value is 0. A null pointer is valid but does not point to any object.“ See also null pointer exception. (CppPrmLp 2012)
- nullptr - Literal constant that denotes the null pointer.” See also null pointer exception. (CppPrmLp 2012)
O
- object - A region of memory that has a type. A variable is an object that has a name.“ (CppPrmLp 2012)
- outer scope - Scope that encloses another scope.” (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
P
- pointer to const - Pointer that can hold the address of a const object. A pointer to const may not be used to change the value of the object to which it points.” (CppPrmLp 2012)
- preprocessor variable - Variable managed by the preprocessor. The preprocessor replaces each preprocessor variable by its value before our program is compiled.” (CppPrmLp 2012)
R
- reference to const - A reference that may not change the value of the object to which it refers. A reference to const may be bound to a const object, a nonconst object, or the result of an expression.” (CppPrmLp 2012)
S
- scope - The portion of a program in which names have meaning. C++ has several levels of scope:“ (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
- Scopes nest - Once a name is declared, it is accessible until the end of the scope in which it was declared.” (CppPrmLp 2012) – For JavaScript, see the JavaScript book, YDNJSY Scope and Closures by Kyle Simpson
- separate compilation - Ability to split a program into multiple separate source files.“ (CppPrmLp 2012)
- signed - Integer type that holds negative values or positive values, including zero.” Contrast with unsigned. (CppPrmLp 2012)
T
- temporary - Unnamed object created by the compiler while evaluating an expression. A temporary exists until the end of the largest expression that encloses the expression for which it was created.“ (CppPrmLp 2012)
- type alias - A name that is a synonym for another type. Defined through either a typedef or an alias declaration.“ (CppPrmLp 2012)
- type checking - Term used to describe the process by which the compiler verifies that the way objects of a given type are used is consistent with the definition of that type.” (CppPrmLp 2012)
- typedef - Defines an alias for another type. When typedef appears in the base type of a type declaration, the names defined in the declaration are type names.” (CppPrmLp 2012)
U
- undefined - Usage for which the language does not specify a meaning. Knowingly or unknowingly relying on undefined behavior is a great source of hard-to-track runtime errors, security problems, and portability problems.“ (CppPrmLp 2012)
- uninitialized - Variable defined without an initial value. In general, trying to access the value of an uninitialized variable results in undefined behavior.” (CppPrmLp 2012)
- unsigned - Integer type that holds only values greater than or equal to zero.“ Contrast with signed (CppPrmLp 2012)
V
W
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.
Fair Use Sources
C++: C++ Fundamentals, C++ Inventor - C++ Language Designer: Bjarne Stroustrup in 1985; C++ Keywords, C++ Built-In Data Types, C++ Data Structures (CPP Containers) - C++ Algorithms, C++ Syntax, C++ OOP - C++ Design Patterns, Clean C++ - C++ Style Guide, C++ Best Practices ( C++ Core Guidelines (CG)) - C++ BDD, C++ Standards ( C++ 23, C++ 20, C++ 17, C++ 14, C++ 11, C++ 03, C++ 98), Bjarne Stroustrup's C++ Glossary, CppReference.com, CPlusPlus.com, ISOcpp.org, C++ Compilers (Compiler Explorer, MinGW), C++ IDEs, C++ Development Tools, C++ Linter, C++ Debugging, C++ Modules ( C++20), C++ Packages, C++ Package Manager ( Conan - the C/C++ Package Manager), C++ Standard Library, C++ Libraries, C++ Frameworks, C++ DevOps - C++ SRE, C++ CI/CD ( C++ Build Pipeline), C++ Data Science - C++ DataOps, C++ Machine Learning, C++ Deep Learning, Functional C++, C++ Concurrency, C++ History, C++ Topics, C++ Bibliography, Manning C++ Series, C++ Courses, CppCon, C++ Research, C++ GitHub, Written in C++, C++ Popularity, C++ Awesome , C++ Versions. (navbar_cplusplus – see also navbar_cpp_containers, navbar_cppcon, navbar_cpp_core_guidelines, navbar_cpp23, navbar_cpp20, navbar_cpp17, navbar_cpp14, navbar_cpp11)