C++
Core language, memory management, STL, and modern C++ (11/17/20); write fast, safe, and readable code.
What is C++?
C++ is a compiled language for high-performance, system-level development. With RAII, templates, and modern standards (C++11/14/17/20/23) it supports both OOP and generic programming.
It’s preferred in game engines, embedded systems, finance, and HPC. The STL (algorithms, containers) and smart pointers provide memory safety and performance together.
TL;DR
- Modern C++:
auto,move semantics,constexpr,ranges. - Build & packaging: CMake, dependencies with vcpkg/Conan.
- Quality: sanitizers, static analysis, and unit tests.
Fundamentals
Introductory topics for starting with C++, including basic syntax, variables, operators, loops, and functions.
What is C++? First Steps in Programming
Learn the basics of C++ programming, its core concepts, common use cases, and how to write your first programs.
Setting up C++ Compiler & IDE (Visual Studio, GCC, Clang)
Learn how to set up a C++ development environment using Visual Studio, GCC, and Clang compilers with step-by-step guidance.
First C++ Program: How “Hello World” Works
Write your first C++ program and learn how “Hello World” works, including compilation, execution, and basic program flow.
Variables, Data Types, and auto in C++
Learn variables, data types, and the auto keyword in C++ with practical examples of type deduction and memory usage.
Operators in C++: Arithmetic, Comparison, Logical
Learn arithmetic, comparison, and logical operators in C++ to perform calculations and control program flow effectively.
Conditional Statements in C++: if, else if, switch
Learn conditional statements in C++ using if, else if, and switch to control decision-making and program flow.
Loops in C++: for, while, do-while
Learn loops in C++ using for, while, and do-while statements to repeat tasks and control program execution efficiently.
Introduction to Functions in C++: Define, Call, Parameters
Learn functions in C++, including defining, calling, and using parameters to build modular and reusable programs.
Scope and Lifetime in C++
Learn scope and lifetime in C++ to understand variable visibility, object lifetime, and memory management concepts.
String Handling in C++: C-Style and std::string
Learn string handling in C++ using C-style strings and std::string for text processing, concatenation, and manipulation.
Memory and Pointers
Articles covering pointers, references, dynamic memory management, and addressing in C++.
Addresses and Memory Basics in C++
Learn the basics of addresses and memory in C++, including memory layout, variable addresses, and how data is stored.
References vs Pointers in C++
Learn the differences between references and pointers in C++, including use cases, advantages, and memory management.
Passing Parameters to Functions via Pointers in C++
Learn how to pass parameters to functions via pointers in C++, including address passing, memory access, and practical examples.
Relationship Between Arrays and Pointers in C++
Learn the relationship between arrays and pointers in C++, including memory layout, pointer arithmetic, and array access.
Dynamic Memory Management in C++: new and delete
Learn dynamic memory management in C++ using new and delete to allocate, release, and manage memory safely.
Memory Leaks and Analysis with Valgrind in C++
Learn how to detect memory leaks in C++ and analyze applications with Valgrind to improve stability and memory usage.
Multidimensional Arrays and Pointer Usage in C++
Learn multidimensional arrays and pointer usage in C++, including memory layout, indexing, and pointer arithmetic with examples.
Introduction to Smart Pointers in C++
Learn smart pointers in C++, including unique_ptr, shared_ptr, and weak_ptr for safe memory management and modern C++ development.