Skip to content

Tag Archives: CPP-Basics

C++ is a general-purpose, object-oriented programming language. It was developed in 1979 by Bjarne Stroustrup at AT & T Bell Laboratory. It is a high-level… Read More
Comments in C++ are meant to explain the code as well as to make it more readable. When testing alternative code, it can also be… Read More
If is a type of condition checking in which a condition turns out to be true a block of statements is executed. Syntax: // if… Read More
This article focuses on discussing how to use cout for multi-line printing. This can be easily done using any of these two methods: Using endl.… Read More
In C++ input and output are performed in the form of a sequence of bytes or more commonly known as streams. cerr and clog both… Read More
A recursive lambda expression is the process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called… Read More
Introduction: Every programming language that is based on an object-oriented concept tries to connect everything to the real world. Similarly, C++ languages use classes, Inheritance,… Read More
Reusability is one of the most important concepts of Software Engineering. Reusability means developing code that can be reused either in the same program or… Read More
Encryption in cryptography is a process by which a plain text or a piece of information is converted into ciphertext or a text which can… Read More
Memory Limit Exceeded Error: It typically occurs when no memory limit has been set. It means that the program is trying to allocate more memory… Read More
A function is a set of statements that take inputs, perform some specific computation, and produce output. The idea to use functions is to perform… Read More
In C++, assigning a function to a variable and using that variable for calling the function as many times as the user wants, increases the… Read More
Containership: When an object of one class is created into another class then that object will be a member of that class, this type of… Read More
An array of pointers is an array of pointer variables. It is also known as pointer arrays. We will discuss how to create a 1D… Read More
An array in any programming language is a collection of similar data items stored at contiguous memory locations and elements can be accessed randomly using… Read More