C++

C++ Decision Making

In this C++ tutorial, let us discuss decision making, its types with a sample C++ program to understand the concepts better. Introduction of C++ Decision making Decision making is about selecting the order of execution of statements based on certain conditions until certain specified conditions are satisfied.  Types of decision-making statements in C++ if if-else …

C++ Decision Making Read More »

C++ Web Programming

In this C++ tutorial, you will get a new practice of linking web with your C++ programs. Let us see about web programming in C++ with suitable examples. Introduction of CGI Common Gateway Interface(CGI) is a set of standards defining how the data is exchanged from the web server, how it is passing the web …

C++ Web Programming Read More »

C++ Signal Handling

In this C++ tutorial, let us see about Signal handling in C++ with appropriate example programs. Introduction of Signal Handling Signals are the interrupts that force an OS to stop its ongoing task and process the task for which the interrupt has been sent. These interrupts can pause an ongoing process in any programs of …

C++ Signal Handling Read More »

C++ Templates

In this C++ tutorial, let us see about Templates, its types with an example program in C++ Introduction of Templates Templates define the structure of a function or a class irrespective of the data types used. So, while using templates, the same function can be used with different data types. The template may be defined …

C++ Templates Read More »

C++ Preprocessor

In this C++ tutorial, let us have a look at preprocessors, types and sample program for better understanding the concepts. Introduction of Preprocessor Preprocessors are the directives which tell the compiler to preprocess the source code before compilation begins. All of these preprocessor directives begin with a ‘#’ (hash) symbol and it is placed at …

C++ Preprocessor Read More »

C++ Polymorphism

In this C++ tutorial, let us have a look at Polymorphism, its implementation and sample C++ program for polymorphism. Introduction of Polymorphism Polymorphism refers to having more than one form. So, polymorphism means multiple forms of something. A real-life example of polymorphism is, a person at the same time can have different characteristic. Like a …

C++ Polymorphism Read More »

C++ Overloading

In this C++ tutorial, let us have a look at C++ overloading, its types and example programs. Introduction of C++ Overloading Overloading is one of the most advanced features of object-oriented programming. It makes the operations on objects much easier. If we create two or more members having the same name but different in number …

C++ Overloading Read More »

C++ Namespaces

In this C++ tutorial, let us see Namespaces in C++, its declaration and sample C++ program to understand this concept better. Introduction of C++ Namespaces Namespaces allow us to group named entities that otherwise would have global scope into narrower scopes, giving them namespace scope. This allows organizing the elements of programs into different logical scopes referred to by …

C++ Namespaces Read More »

C++ Multithreading

In this C++ tutorial, let us discuss multithreading concepts and creation or termination of threads with an example program. Introduction of Multithreading Multithreading is a specific form of multitasking that allows your computer to run two or more programs concurrently. There are two types of multitasking such as process-based multitasking thread-based multitasking The Process-based multitasking …

C++ Multithreading Read More »

C++ Interfaces

In this C++ tutorial, let us see C++ interfaces with an example program. Introduction to C++ Interfaces The behaviour or abilities of class in C++ are defined by the interfaces, without assigning to a particular implementation of that class. The C++ interfaces are implemented using abstract classes. A class is made abstract by declaring at least one …

C++ Interfaces Read More »