ISO_C++_Logo.svg Dictionary
Variables Bytes Definitions
auto ? Guesses the variable type within C++ regulations.
int 4 Integer variable containing range of -2147483648 to 2147483647 (2^32)
bool 1 Boolean variable that contains true / false. Does not exist in C99.
float 4 Variable contains floating decimals (1.175494351 E - 38 to 3.402823466 E + 38) IEEE 754
double 8 Floating decimals with range of (2.2250738585072014 E - 308 to 1.7976931348623158 E + 308)
char 1 Variable contains integer 0 to 255. May be converted to a single character through ASCII.
void ? Variable with 0 bytes needed thus only exists in pointer, which can point any variable.
class ? Structure for OOP, includes [public, protected, private] keyword. Can be inherited, and they
have constructors and destructor. Cannot throw in destructor. How does is_class<> works in C++?
struct ? Group of variables to represent models. Merely a default-public class in C++.
Faster performance if the data is multiple of 4 bytes.
union ? Structure that shares bytes. is_union<> cannot be written in C++ code but assembly.
enum ? Enumeration of integers (Constant)