Blog
C++
Projects
About
EN
C++
Learning materials and interview preparation
Algorithms
▼
Sorting Algorithms
All sorting algorithms
BFS
Breadth-First Search
DFS
Depth-First Search
Beginner
▼
C++ Setup & Hello World
Install a compiler, set up your environment, and write your first C++ program
Variables and Data Types in C++
Store numbers, text, and true/false values — the building blocks of every program
Basic Input/Output in C++
Make your programs interactive — read user input and format beautiful output
Operators and Expressions
Master arithmetic, comparison, and logical operators to build game logic
Control Flow: if, else, and switch
Make decisions in your code — branching paths, multiple outcomes, and game logic
Loops: while, do-while, and for
Repeat code efficiently — from game loops to processing thousands of enemies
Arrays and Vectors
Store collections of data — inventories, high scores, enemy waves, and more
Functions — Reusable Code Blocks
Organize code, avoid repetition, and build complex systems with functions
Structs and Enums — Creating Custom Types
Organize related data and represent game states with custom types
Classes — Object-Oriented Programming in C++
Create blueprints for game objects, encapsulate data, and build complex systems with classes
File I/O — Saving and Loading Games
Persist data, save player progress, load configurations, and write logs
Intermediate
▼
Pointers and Dynamic Memory
Manage memory directly, create flexible data structures, and understand how games really work
Advanced Strings — Text Manipulation and Parsing
Master string operations for chat systems, dialogue trees, text parsing, and more
Exception Handling — Graceful Error Management
Handle errors gracefully without crashing — file not found, invalid input, out of memory
Templates — Generic Programming
Write code once, use with any type — generic containers, algorithms, and more
STL Containers — Vector, Map, Set, and More
Master C++ Standard Template Library containers for efficient data management
STL Algorithms — Sorting, Searching, and Transforming Data
Master the algorithm header — write faster, cleaner code with standard algorithms
Smart Pointers — Automatic Memory Management
Master unique_ptr, shared_ptr, weak_ptr — never leak memory again
Advanced
▼
Move Semantics — Efficient Transfers and Perfect Forwarding
Stop copying unnecessary data — master move constructors, move assignment, and perfect forwarding
Multithreading — Concurrent Programming in C++
Write faster games with multiple threads — async loading, parallel processing, and thread-safe data
Networking with Sockets — Building Multiplayer Games
Connect players across the world with TCP and UDP sockets — from chat rooms to real-time multiplayer
Game Design Patterns — Building Scalable Game Architecture
Singleton, Factory, Observer, Component — proven patterns for game development
Performance Optimization — Making Games Run Fast
Profile, optimize, and squeeze every drop of performance from your C++ games