c++

C++ Smart Pointers: weak_ptr

This article will be about the weak pointer (std::weak_ptr) in the C++ standard. It’s closely related to the shared pointer (std::shared_ptr).

C++ Hello World with Classes

In this article we will show you how to write C++ code using classes with constructors and destructors. We will create different beginner C++ programs that will output “Hello, World!” as examples.

C++ Variables and Data Types

What is data type?
In programming languages, data type is a classification that defines which type of value a variable can contain and what type of operations (mathematical, relational or logical operations) can be applied to it without causing any error or unwanted side effects.

C++ Hello World

This is a C++ introduction tutorial for beginners with an example that will print out “Hello, World!” into the console window.

C++ Boost Asio Introduction Tutorial

In the C++ Boost.ASIO library, ASIO stands for asynchronous input/output. This library allows asynchronous processing of data. Asynchronous means that a program doesn’t have to wait for completion of an operation to start a new one. It can execute more than one operations concurrently.

C++ Function Templates with Examples

In this tutorial we will give an introduction to C++ function templates and provide simple function template examples and a more complex sort predicates example with generic sorting template function.