C++

C++

C++ is a general-purpose programming language. It was originally designed as an extension to C, and keeps a similar syntax, but is now a completely different language.

Learn About Command Line Arguments in C++ Under 19 Minutes

In this video I explain what C++ command line arguments are and how you can easily process them either manually or using a library such as Abseil Flags.

#cpluplus 

Learn About Command Line Arguments in C++ Under 19 Minutes

Explain What String_view Is in C++ and Why You Should Use It!

In this video I explain what string_view is and why you should use it.

#cpluplus 

Explain What String_view Is in C++ and Why You Should Use It!

How to Use Atomic Variables and Memory Models in C++

I explain what atomic variables (std::atomic)  and how to use them in modern C++. I describe methods of the atomic template provided by STL in details. In particular: load, store, exchange, compare_exchange_strong, compare_exchange_weak.

#cpluplus 

How to Use Atomic Variables and Memory Models in C++

Instructions for using Google Benchmark For C++ Programs

I explain how to use Google Benchmark library to measure the runtime and benchmark your C++ code.

#cpluplus 

Instructions for using Google Benchmark For C++ Programs

Provide A Minimalist Starter Sample Git Repo to Start Your C++ Project

I provide a minimalistic starter template Git repo to start your C++ projects. It has the following features:

#cpluplus #visual-studio 

Provide A Minimalist Starter Sample Git Repo to Start Your C++ Project

Explain What A Mutex Is and How to Use It in Modern C++

I explain what a mutex is and how to use it in modern C++. Also, I explain what a conditional variable in C++ is and how to use it.

#cpluplus 

 

Explain What A Mutex Is and How to Use It in Modern C++

How Do We Represent Graphs in C++?

How do we represent graphs in C++?

 

I will explain three methods of representing graphs in C++ using Standard Template Library (STL)'s data structures:

1. Direct translation of the graph definition (Set of vertices, Set of Edges): 5:39
2. Adjacency list: 10:27
3. Adjacency matrix: 14:27

Comparison of all methods: 17:01

#cpluplus 

How Do We Represent Graphs in C++?

Tutorial to Learn C++ Multithreading Under 20 Minutes

In this video you will learn about: Tutorial To Learn C++ Multithreading Under 20 Minutes
#cpluplus 

Tutorial to Learn C++ Multithreading Under 20 Minutes

Clear Explanation Of Bellman-ford Single Source Shortest PathAlgorithm

A clear explanation of Bellman-Ford single source shortest path algorithm with example and C++ implementation. 

#algorithm #cpluplus 

Clear Explanation Of Bellman-ford Single Source Shortest PathAlgorithm

How You Can Set Up Visual Studio Code to Debug Your C++ Programs.

In this video I will go over how you can set up VSC (Visual Studio Code) to debug your C++ programs.

#cpluplus #visual-studio 

How You Can Set Up Visual Studio Code to Debug Your C++ Programs.

Learn About The Runtime Complexity Of inserting N In C++

In this video we analyze the runtime complexity of inserting N items inside an empty std::set.

#cpluplus 

Learn About The Runtime Complexity Of inserting N In C++
Ruthie  Bugala

Ruthie Bugala

1631552400

Instructions for Connecting to A Vector In C++

Appending to a vector means adding one or more elements at the back of the vector. The C++ vector has member functions. The member functions that can be used for appending are: push_back(), insert() and emplace(). The official function to be used to append is push_back(). The use of these three member functions to append to a C++ vector is explained in this article.

#cpluplus 

Instructions for Connecting to A Vector In C++
Ruthie  Bugala

Ruthie Bugala

1631548800

Learn About 2D Arrays in C++

In this article you will learn about: 2D Arrays in C++
#cpluplus 

Learn About 2D Arrays in C++

How to Test Bazel and Google in Visual Studio Code

A tutorial for using Bazel build system and Google Test for building and testing C++ files in Visual studio code.

#visual-studio #cpluplus 

How to Test Bazel and Google in Visual Studio Code
Ruthie  Bugala

Ruthie Bugala

1631541600

Learn About C++ Vector Clear Vs Erase

The title of this article is actually “Vector clear() Member Function vs Vector clear() Member Function, in C++". Here is a comparison of the two member functions. It deals with when to use which, how to use which and under what conditions is used.

#cpluplus 

Learn About C++ Vector Clear Vs Erase