C/C++
Articles
- C Pointers: A Complete Guide
- C Memory Management: malloc, calloc, realloc, and free
- C++ Object-Oriented Programming: Classes and Inheritance
- C++ STL: Containers, Algorithms, and Iterators
- C++ Smart Pointers: unique_ptr, shared_ptr, and weak_ptr
- C vs C++: When to Use Which Language?
- C File I/O: Reading and Writing Files
- C++ Templates: Advanced Techniques and Patterns
- C++ Move Semantics and Perfect Forwarding
- CMake: A Complete Guide to the C++ Build System
Learning Path — 18 articles
1
C Pointers: A Complete Guide
Master C pointers — pointer arithmetic, arrays, function pointers, dynamic memory allocation, and common pointer …
Start Here
2
C Memory Management: malloc, calloc, realloc, and free
Learn C memory management — stack vs heap, malloc, calloc, realloc, free, memory leaks, and Valgrind debugging.
Start Here
3
C++ Smart Pointers: unique_ptr, shared_ptr, and weak_ptr
Master C++ smart pointers — unique_ptr, shared_ptr, weak_ptr, custom deleters, and memory management in modern C++.
Start Here
4
C vs C++: Key Differences and When to Use Which
Compare C and C++ — language features, performance, use cases, OOP, and which language suits your project best.
5
C File I/O: Reading and Writing Files
Learn C file input/output — fopen, fread, fwrite, fscanf, fprintf, binary files, and error handling for robust file …
6
C++ Templates: Advanced Techniques and Patterns
Master advanced C++ templates — template specialization, variadic templates, SFINAE, concepts, and template …
7
C++ Move Semantics and Perfect Forwarding
Learn C++ move semantics — rvalue references, std::move, perfect forwarding, move constructors, and performance …
8
CMake: A Complete Guide to the C++ Build System
Learn CMake for C++ projects. Covers CMakeLists.txt, targets, dependencies, testing, installation, and cross-platform …
9
C++ Memory Management: Pointers, Smart Pointers, and RAII
Learn C++ memory management — raw pointers, smart pointers (unique_ptr, shared_ptr, weak_ptr), RAII, and avoiding memory …
10
C++ Object-Oriented Programming: Classes, Inheritance, and...
Learn C++ OOP — classes, constructors, inheritance, virtual functions, polymorphism, RAII, and modern C++ best …
11
C++ STL: Containers, Algorithms, and Iterators
Learn the C++ Standard Template Library — vectors, maps, sets, algorithms, iterators, and writing efficient C++ code.
12
C++ Templates: Generic Programming and Metaprogramming
Learn C++ templates — function templates, class templates, template specialization, variadic templates, and template …
13
C++ Concurrency: Threads, Mutexes, and Atomics
Multithreading in modern C++ — thread management, synchronization primitives, atomic operations, and best practices.
14
C++ File I/O: Reading and Writing Files
File streams in C++ — fstream, ifstream, ofstream, binary I/O, error handling, and best practices.
15
C++ Compilation: Preprocessing, Compilation, and Linking
Translation units, headers, object files — how the C++ compiler transforms source code into executables.
16
C++ Exception Handling: Try, Catch, and RAII
Exceptions, noexcept, exception safety — writing robust C++ code with proper error handling and RAII.
Advanced
17
C++ Coroutines: Async Programming with co_await co_yield co_return
Master C++20 coroutines — co_await, co_yield, co_return, promise types, awaitable types, generators, tasks, and memory …
Advanced
18
Modern CMake: Targets, Presets, FetchContent & CTest for C++ Builds
Learn modern CMake for C++ — targets with PUBLIC/PRIVATE/INTERFACE, presets, FetchContent dependency management, CTest, …
Advanced