Latest tutorials

HOW TO USE SOCKETS IN C++ PART 2

H

Today we are going to see, how we can implement client-server architecture using sockets in C++. I would like to recommend going through all basic concepts related to sockets in part 1 of this tutorial. So, without any further delay; let’s start. In C++, socket programming is a method of merging or connecting two nodes via a network so that they can communicate without losing any data. One...

Face Detection using OpenCV and C++ Part 2

F

Welcome back to the tutorial for the detection of faces using OpenCV with c++. If you don’t know what this library is, we would highly recommend going through the previous tutorial and the setup project. Let me explain a little about Open CV before diving into it.  OpenCV OpenCV (Open-Source Computer Vision Library) is a free software library for computer vision and machine learning. It was...

Face Detection using OpenCV and C++ part 1

F

Today we are going to see how we can use OpenCV with C++ for face detection. Well, I know most of you heard about Opencv as it is a very popular library when it comes to Computer Vision. But for those who are not familiar with it, let me introduce you to a little bit about OpenCV. OpenCV OpenCV (Open-Source Computer Vision Library) is a free software library for computer vision and machine...

File handling in c++

F

Today, we are going to see file handling in c++ where we will be covering reading and writing files. We would highly recommend going through the basics of C++ before moving on. File handling has tons of use cases and it is an essential topic for any programmer. So without any delay, let us start a deep dive into it Filing In C++, file handling is a mechanism for storing and processing data in...

Pointers and Arrays in C++

P

Today, we are going to see how we can use pointers and arrays in C++. We hope now you have some basic understanding of pointers. If don’t, we would highly recommend going through the last tutorial and coming back here. Now let us discuss the basics of pointers quickly then we will start with today’s agenda.  Pointers A pointer is a variable that stores an object’s memory address. In both C...

Using pointers in c++

U

Today, our article will be about using pointers in C++. When it comes to pointers it is one of the most confusing topics among programmers. Most of the time programmers think of pointers as really complex concept but they are not. So, before going into details we should know what pointers are, what are their use cases and why them? Pointers A pointer is a variable that stores an object’s...

How to use pipes in c++

H

Today we are going to see, how can we use pipes and fork system call for creating multiple processes and handling our work. We are going to implement a use case that will use a fork system call to generate two processes, one will make use of ls command and pass its output to the second child which will display the output of ls with numbering. I am assuming most of you are familiar with at least...

If/Else Statements

I

There are cases where we need to execute a block of statements only when a particular condition is met. This is called decision making, since we are executing a certain code after making a decision in the program logic. To make decisions through code, we use a concept called if and else statements Syntax They use the following syntax: if(condition){ Statement(s); } else { Other_statement(s); }...

Object Oriented Programming in C++

O

Introduction What is Object Oriented Programming(OOP)?Object-oriented programming is a programming paradigm that organizes code around data(objects), rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior.For example, let’s take an object and call it Car: object Car; This Car instance can have many attributes: object Car { property...

Getting Started with C++

G

In this article, you will learn about the basics of the C++ programming language.Here’s what you’ll learn today. What is C++ and why use it?Getting StartedInstalling GCCC++: The BasicsWriting our first ‘Hello World’ programVariables What is C++ and why use it? The C++ programming language is currently regarded as one of the most commonly used languages in the developer ecosystem. In fact, it can...

Tutor Network