Floating point and Double Data Type

Numbers can be represented using Integer data types in C++. But some numbers like real numbers cannot be stored like integers because there is a decimal part associated with the real numbers.C++ programming language has and data type to represent real numbers.A real number is declared using keyword – or . The main difference between … Read more

C/C++ Keywords

The are identifiers that cannot be used as . These are reserved words used as instructions in a C/C++ program.In this article , we have listed all the common keywords used in C/C++ language with a short description of each. Keyword Language Description auto C/C++ Auto storage class break C/C++ Break a loop or block … Read more

C++ Data Type Classification

The C++ programming language has a wide variety of data types. In this article, you are going to get an overview of how these data types are classified.A data type is a computer representation of identifiers such as variables or constants. The C++ data types are divided into 3 categories. Builtin types User-defined types Derived-types … Read more

C++ Character Data Types

The character data type is one of the primitive data types by C++ programming language. The character data type uses keyword  and it has a minimum size of or .This is good enough to hold any characters because the values of characters in keyboard lies between . In other words, there are total characters in … Read more

C++ Constructors And Destructors

C++ constructors are special member functions that initialize objects when it is created. In other words, as soon as the object starts living the constructor assigns initial values to the objects. There is another special function called destructor, which does opposite of what constructor does – destroy objects.Syntax for Declaring a Constructor A constructor should … Read more

C++ Objects

C++ class is a template for objects. The objects are created, destroyed and manipulated. The C++ objects make use of properties and methods of a class.Declaring objectsThere are two methods for creating objects. Declare objects with class declaration. Declare objects separately. We will discuss both the method now.Declare objects with Class DeclarationIn this method, first … Read more

C++ Defining Member Function

One of the class member is member function. A function declared as a member of the class is called a c++ member function. There are many types of member functions and different ways to define the c++ member functions.Types of C++ member functionsThere are many types of member functions for different purpose. Manager Functions Accessor … Read more

C++ Class Basics

C++ programming supports Object-Oriented Programming (OOP). The OOP concepts are implemented using classes in C++. Before we start learning about C++ class basics, understand the following OOP concepts given below.Data AbstractionC++ classes are abstract data-types (ADTs). The classes use data abstraction which is collection of data and methods in OOP. The term abstraction means showing … Read more

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version