Operator Overloading in C++

In C++, we can make the operators work for user defined data types. The meaning of the operator will depend on the implementation. This feature is known as operator overloading. One operator can work in some way on operands of standard data types. And the same operator can work in different ways on operands of … Continue reading “Operator Overloading in C++”

Function Overloading in C++

Function overloading is a feature of having multiple functions with same name but different input parameters. The input parameters of the overloaded functions should be different in some way. Either the data types of the input parameters could be different or the number of input parameters could be different. This is one of the important … Continue reading “Function Overloading in C++”

Multithreading in C

We can create multiple threads in our C program to execute multiple tasks in parallel. It helps to utilize the CPU resources efficiently. Even though core C programming does not support multithreading, at least until C11 standard, it has a lot of library support for that purpose. POSIX thread or pthread is one of the … Continue reading “Multithreading in C”

Multithreading

Let’s first understand few related terminologies before understanding multithreading. Program Program or computer program can be viewed as a set of instructions. We generally write programs in high level languages like C or C++. The computer processors can not execute these programs directly. We compile and link them into a binary equivalent that the processors … Continue reading “Multithreading”

C++ Object Oriented Programming

C++ is a high-level, general purpose object oriented programming language. It was created by Bjarne Stroustrup, a Danish computer scientist, as an extension of C programming language in early 80’s to add support of the Object Oriented Programming (OOP) features. Over time it has been extended to support wide range of programming features and abilities. … Continue reading “C++ Object Oriented Programming”

0
0
0
0
0
0