Table of Contents
Finding the right definition of simple explanation of different C++ terminologies / concepts can be hard sometimes. Here we will try to collect and explain most of the C++ concepts with its simple definition in alphabetical order. Have a look. And, if we missed something then do tell us in the comment section, we will try to cover as much as we can.
A class that contains only interface used as base class and can never be instantiated. Other classes can extend from the base class.
Access Control is a C++ mechanism for prohibiting or granting access to individual members of a class.
Access specifier is a way of labelling member data or member functions of a class to specify what access is permitted.
A set of rules by which a computer solves a specific problem in a stepwise manner.
The actual values passed to a function is called arguments.
Array is a data structure that stores a contiguous sequence of elements values of a single data type in memory. Each value is accessed by its position in the array.
The process of giving a value to a pre-existing identifier using the assignment operator.
Bit is the smallest unit of information in a binary encoding system, either 1 or 0.
Bjarne Stroustrup is the developer of the C++ Programming language.
A keyword used to specify a statement that is used to break out of a loop or switch statement.
A c++ compiler program that translates c++ to “C” soruce code. Which in turn can be compiled via a C compiler. It was developed in the mid-80s.
A Class is a fundamental building block of c++ programs that defines member data which may be of different data types and a set of operations that can be performed on the data member function.
Comments are put into source code by programmers in order to better explain what the code does.
Error that occurs during the translation of source code into machine code.
A Compiler is a software program to change the source code to a different form called an object code.
A compound statement is a sequence of statements enclosed in curly braces.
A special class member function with the same class name and is automatically called by the compiler whenever a class object comes into scope. It is an initialization function for the objects of a class.
One of a member of a class that can hold a value.
Data types in c++ are used for representing characters, integers, or floating point numbers.
The process of removing errors from a program.
It is a member function that is automatically called when the class object goes out of scope or the operator delete is applied by the compiler. It must always have the same name as the class to which it belongs. A constructor is preceded by a tilde (~).