Start here · Essential guide
The Dot Operator in C++
The dot operator (.) reads and sets the members of a C++ struct or class object and calls its member functions. Covers pointers, access rules and errors.
Syntax and Functions
How the dot operator reaches members and what the :: operator means.
Start here · Essential guide
The dot operator (.) reads and sets the members of a C++ struct or class object and calls its member functions. Covers pointers, access rules and errors.
An overview of C# operators: arithmetic, comparison, logical, bitwise and assignment symbols, plus ?? and ?. Notes show how they compare with C++ operators.
The :: operator is C++'s scope resolution operator. It reaches names inside a namespace, a class or the global scope, as in std::cout and Counter::total.
Excel formulas have no dot operator. The dot appears as a decimal point, in some names and in VBA, where it reaches an object's properties and methods.
The dot operator (.) connects a structure variable to its members, and the arrow (->) does the same through a pointer. Examples in C and C++ show both.
Related topics