Learn C++ (7) – OOP
Reference W3School - C++ Tutorial Create a Class To create a class, use the class keyword and end the class…
Reference W3School - C++ Tutorial Create a Class To create a class, use the class keyword and end the class…
Reference W3School - C++ Tutorial Creating References A reference variable is a "reference" to an existing variable, and…
Reference W3School - C++ Tutorial Conditions check Support these conditional check: if elseelse if(condition) ? expressionTrue : expressFalseswitch…
Reference W3School - C++ Tutorial Data Types Data TypeSizeDescriptionbool1 byteStores true or false valueschar1 byteStores a single character/letter/number,…
Reference W3School - C++ Tutorial cout and cin cout is used to output (print) values. cin is a predefined variable…
Reference W3School - C++ Tutorial Constants When you do not want others (or yourself) to change existing variable…
Reference W3School - C++ Tutorial C++ Variables In C++, there are different types of variables (defined with different keywords), for…