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
Articles in this section
C Pointers: A Complete Guide
Master C pointers — pointer arithmetic, arrays, function pointers, dynamic memory allocation, and common pointer …
C Memory Management: malloc, calloc, realloc, and free
Learn C memory management — stack vs heap, malloc, calloc, realloc, free, memory leaks, and Valgrind debugging.
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++.
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.
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 …
C++ Templates: Advanced Techniques and Patterns
Master advanced C++ templates — template specialization, variadic templates, SFINAE, concepts, and template …
C++ Move Semantics and Perfect Forwarding
Learn C++ move semantics — rvalue references, std::move, perfect forwarding, move constructors, and performance …
CMake: A Complete Guide to the C++ Build System
Learn CMake for C++ projects. Covers CMakeLists.txt, targets, dependencies, testing, installation, and cross-platform …
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 …
C++ Object-Oriented Programming: Classes, Inheritance, and Polymorphism
Learn C++ OOP — classes, constructors, inheritance, virtual functions, polymorphism, RAII, and modern C++ best …
C++ STL: Containers, Algorithms, and Iterators
Learn the C++ Standard Template Library — vectors, maps, sets, algorithms, iterators, and writing efficient C++ code.
C++ Templates: Generic Programming and Metaprogramming
Learn C++ templates — function templates, class templates, template specialization, variadic templates, and template …
C++ Concurrency: Threads, Mutexes, and Atomics
Multithreading in modern C++ — thread management, synchronization primitives, atomic operations, and best practices.
C++ File I/O: Reading and Writing Files
File streams in C++ — fstream, ifstream, ofstream, binary I/O, error handling, and best practices.
C++ Compilation: Preprocessing, Compilation, and Linking
Translation units, headers, object files — how the C++ compiler transforms source code into executables.
C++ Exception Handling: Try, Catch, and RAII
Exceptions, noexcept, exception safety — writing robust C++ code with proper error handling and RAII.
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 …
Modern CMake: Targets, Presets, FetchContent & CTest for C++ Builds
Learn modern CMake for C++ — targets with PUBLIC/PRIVATE/INTERFACE, presets, FetchContent dependency management, CTest, …