"The best way to learn is to build real things."
Progressive project ideas to apply your C++ skills and build a portfolio.
Skills: I/O, functions, control flow
Convert between Celsius, Fahrenheit, and Kelvin with a menu interface.
Features:
- Interactive menu
- Input validation
- Multiple conversions
- Loop until exit
Estimation: 2-4 hours
Skills: Functions, error handling, control flow
Basic calculator supporting +, -, *, / operations.
Features:
- Arithmetic operations
- Error handling (divide by zero)
- Multiple calculations
- History of operations
Estimation: 3-5 hours
Skills: Classes, STL, file I/O, strings
Console-based todo list manager.
Features:
- Add/remove/edit todos
- Mark as complete
- Save/load from file
- Search todos
- Categories
Estimation: 8-12 hours
Skills: Classes, STL, file I/O, search algorithms
Manage contacts with names, phones, emails.
Features:
- Add/remove contacts
- Search by name/phone
- Edit contact details
- Save/load from file
- Import/export CSV
Estimation: 10-15 hours
Skills: OOP, inheritance, strings, game design
Classic text-based adventure game.
Features:
- Room/area system
- Item management
- Inventory system
- Player actions
- Save/load game
- Multiple endings
Estimation: 15-20 hours
Skills: Classes, STL, file I/O, search/sort
Manage student records with CRUD operations.
Features:
- Add/remove students
- Edit student information
- Search by various fields
- Sort by different criteria
- Generate reports
- Export to various formats
Estimation: 12-18 hours
Skills: Classes, encapsulation, file I/O, validation
Simple banking application with account management.
Features:
- Create/delete accounts
- Deposit/withdraw
- Transfer between accounts
- Transaction history
- Account types (savings, checking)
- Interest calculation
Estimation: 15-20 hours
Skills: Networking, threading, STL, protocols
Simple client-server chat application.
Features:
- Multiple clients
- Server broadcasts messages
- Private messaging
- User registration
- Message history
- Disconnect/reconnect
Estimation: 20-25 hours
Skills: Networking, concurrency, protocols, parsing
Simple web server serving static files.
Features:
- Handle HTTP GET/POST
- Serve static files
- Multiple connections
- Logging
- Configuration
- Error handling
Estimation: 25-35 hours
Skills: System programming, threading, events
Monitor directories for file changes.
Features:
- Watch directory for changes
- Detect create/modify/delete
- Recursive watching
- Filter by file type
- Event callbacks
- Configuration
Estimation: 20-30 hours
Skills: Data structures, file I/O, persistence, parsing
Basic key-value or relational database.
Features:
- CRUD operations
- Persistent storage
- Index (B-tree or hash)
- Query language (basic)
- Transactions
- Backup/restore
Estimation: 40-60 hours
Skills: Graphics, math, architecture, performance
Basic 2D game engine.
Features:
- Game loop
- Entity system
- Component management
- Rendering (SDL or OpenGL)
- Input handling
- Audio system
- Resource management
Estimation: 60-100 hours
Skills: Graphics, math, optimization, performance
CPU-based ray tracer with realistic lighting.
Features:
- Scene description
- Spheres, planes, triangles
- Lighting (point, directional)
- Shadows
- Reflections/refractions
- Anti-aliasing
- Parallelization
Estimation: 80-120 hours
Skills: Parsing, networking, rendering, architecture
Basic HTML/CSS renderer.
Features:
- HTML parsing
- CSS styling
- Layout engine
- Rendering
- JavaScript support (basic)
- Network requests
Estimation: 200+ hours
Skills: Parsing, code generation, optimization, architecture
Simple language compiler to machine code or bytecode.
Features:
- Lexer
- Parser (AST)
- Type checking
- Code generation
- Optimization
- Standard library
Estimation: 200+ hours
Skills: System programming, hardware, architecture
Basic operating system kernel.
Features:
- Bootloader
- Memory management
- Process scheduler
- File system
- Device drivers
- Shell
Estimation: 300+ hours
- 3D Model Viewer - Load and display 3D models
- Image Processor - Filters, transformations
- Particle System - Physics simulation
- Terrain Generator - Procedural generation
- DNS Resolver - Query DNS servers
- Port Scanner - Network scanning tool
- WebSocket Server - Real-time communication
- FTP Client - File transfer protocol
- CSV Processor - Analyze large datasets
- Data Visualizer - Plot data graphs
- Machine Learning - Simple neural network
- Statistics Tool - Statistical analysis
- Tic-Tac-Toe - AI opponent
- Chess - Full implementation
- 2048 - Number puzzle
- Platformer - 2D side-scroller
- File Compressor - Compression algorithm
- Text Editor - Basic editor
- Markdown Processor - Convert to HTML
- JSON Parser - Parse and generate JSON
Timeline: 1-2 months Focus: Syntax, basic OOP, simple I/O Goal: Comfortable with C++ syntax
Timeline: 2-4 months Focus: OOP, STL, file I/O Goal: Build complete applications
Timeline: 4-6 months Focus: Systems, performance, networking Goal: Real-world complexity
Timeline: 6-12+ months Focus: Portfolio-quality projects Goal: Demonstrable expertise
-
Planning (10% of time)
- Define requirements
- Design architecture
- Plan features
- Create timeline
-
Implementation (60% of time)
- Write code incrementally
- Test each feature
- Refactor as needed
- Document decisions
-
Testing (20% of time)
- Unit tests
- Integration tests
- Edge cases
- Error handling
-
Documentation (10% of time)
- README with usage
- Code comments
- Architecture docs
- User guide
- Complete - Fully functional, not half-done
- Documented - Clear README and comments
- Tested - Test coverage demonstrated
- Unique - Shows your specific interests
- Complex - Demonstrates real skills
- Professional - Clean code, good practices
- Game - Demonstrates creativity and systems thinking
- Network app - Shows practical skills
- Graphics - Demonstrates math and optimization
- Compiler/interpreter - Shows deep understanding
- Database - Shows data structure knowledge
| Project Area | Libraries |
|---|---|
| Graphics | SFML, SDL, OpenGL, Vulkan |
| Networking | Boost.Asio, Boost.Beast |
| Testing | Google Test, Catch2 |
| JSON | nlohmann/json |
| Logging | spdlog |
| Build | CMake, Meson |
| Containers | STL (first), then Boost |
- Version Control: Git
- IDE: VS Code, CLion, Visual Studio
- Debugging: GDB, LLDB, Visual Studio Debugger
- Profiling: Valgrind, perf, Visual Studio Profiler
- Static Analysis: Clang-tidy, CppCheck
- Choose project - Pick something interesting
- Plan features - Define MVP (minimum viable product)
- Set up - Create repository, CMake setup
- Iterate - Build feature by feature
- Test - Verify each feature works
- Refactor - Improve code quality
- Document - Write README and comments
- Share - Put on GitHub, write blog post
See subdirectories for:
01_cli_apps/- Console applications02_games/- Game projects03_networking/- Network applications04_graphics/- Graphics/visualization05_systems/- System programming06_data_structures/- Algorithm implementations
Ready to build? Pick a project and start coding! 🚀