Skip to content

isadri/cpp_pool

 
 

Repository files navigation

cpp_pool

cmake CMakeLists.txt
cmake --build .

single instance of a variable in memory reference parameter double& value

  • Class is a template for objects, and an object is an instance of a class.
class MyClass {       // The class
  public:             // Access specifier
    int myNum;        // Attribute (int variable)
    string myString;  // Attribute (string variable)
};

class is a blueprint for creating objects we can represent a class by a visual language "UML" unified modeling language

 UML

------------ | DialogBox | --> Class ------------ | size | | value | --> Attribute | position | ------------ | resize() | | display() | --> Functions | move() | ------------

Structures are simple data containers Classes creating objects that doing things, functions that operates on data of that class Encapsulation: Combining the data and functions that operate on the data into one unit

-------------------------

  • Whenever you are dealing with inheritance, you should make any explicit destructors virtual. virtual ~Base() = default;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.9%
  • CMake 2.7%
  • Makefile 2.6%
  • Other 0.8%