C++ Classes and Objects

C++ classes and objects are the main components of object oriented programming. Classes are user defined that contain methods and attributes. An object is blue print of the class. Class contains the properties of that object. For example, vehicle is a class that contains the definition for all types of vehicles. The types of vehicles … Read more

C++ Variables and Data Types

The main feature of the C++ is that you need to define everything before using it. C++ Variables are the names assigned to the memory locations where different type of data is stored. Data types define the type of the data to be stored in the memory locations. The variable are defined in this way … Read more