Calculator
A four-function calculator that reads expressions and handles bad input gracefully.
Build, learn & keep up — tech, Linux & sports news included.
Every project includes a full walkthrough, starter code, exact compile commands and a sample run. Browser demos, where present, are browser re-implementations of the same logic — not the compiled C++ programs.
A four-function calculator that reads expressions and handles bad input gracefully.
The computer picks a secret number; you hunt it down with higher/lower hints.
A live console clock that redraws itself every second.
Two players, one 3×3 grid — the first project on the Tic-Tac-Toe path.
Convert length, weight, and temperature between metric and imperial units.
Add, list, complete, and delete tasks — saved to a file so they survive restarts.
Compute Body Mass Index from height and weight, with a health category.
Record scores for a class, compute averages, and assign letter grades.
Convert between world currencies using a built-in table of exchange rates.
Face the computer in the classic hand game, with a running score.
Print a correctly aligned calendar for any month and year.
Enter a birth date and get an exact age in years, months, and days.
Type a password and get an instant strength rating with reasons.
A multiple-choice quiz that asks questions, checks answers, and grades you.
Record daily temperatures to a file and report trends and extremes.
Scramble any file with a key so it can't be read — then unscramble it.
Start, stop, lap, and reset — precise timing down to milliseconds.
PIN login, balance checks, deposits, and withdrawals with safety limits.
The deceptively tricky rules for whether a year has 366 days.
Test numbers for primality and generate every prime up to a limit.
A digital address book with add, search, edit, delete — and real persistence.
Multiple account types, deposits, transfers, and interest — a mini banking core.
Two terminals on one network, sending messages to each other in real time.
Track books, members, loans, and overdue fines like a real small library.
Log spending by category and see where the money actually goes.
The legendary snake: eat, grow, and don't bite yourself.
Guess the hidden word letter by letter before the drawing completes.
Register voters, cast one ballot each, and tally a tamper-resistant result.
A searchable, sortable directory of people and their details.
Track stock levels, flag low items, and value the whole warehouse.
Feed it any Sudoku puzzle; backtracking finds the solution in milliseconds.
Book train seats, manage waitlists, and cancel with automatic promotion.
Shrink text files with a real Huffman encoder — and restore them losslessly.
Check vehicles in and out, assign spots, and bill by the hour.
Your own tiny command shell: run programs, chain them with pipes.
Two countdown clocks, one button — flag fall decides the game.
The beginner board grows a brain: an AI that can never lose.
Build playlists on a hand-rolled linked list: next, previous, shuffle, repeat.
Answer questions, get a cleanly formatted resume as a text file.
Split a monthly income across needs, wants, and savings — and see the gaps.
A real terminal editor: open files, type, move, search, save — like kilo or nano.
Start from one page, follow every link, and map a slice of the web.
The Tic-Tac-Toe path finale: two players, two computers, one network.
Compile a tiny language of your own design: source in, meaning out.
Write your own allocator: a pool that hands out memory and takes it back.
Index every text file in a folder, then search it like Google — instantly.
Build graphs, run BFS/DFS/Dijkstra, and watch traversals step by step.
Products, carts, orders, and payments — the engine behind an online shop.
A small 2D engine: sprites, input, physics, collision — then a game on top.
Capture live traffic and decode Ethernet, IP, and TCP headers by hand.
A multi-user chat server with rooms — built on TCP, compared with UDP.
Load a PPM image and apply real filters: greyscale, blur, edge detection.
Score loan applications against layered rules — and explain every decision.
Feed it messy C++ and get consistently indented, styled code back.
Patients, doctors, appointments, and an emergency queue that jumps the line.
Scan transaction streams and flag the ones that smell wrong — with reasons.
Logins, roles, grades, and courses — the system behind a school portal.
A filesystem inside a file: directories, files, and blocks you manage yourself.
Go beyond parsing: catch undeclared variables and type errors like a real compiler.
The inventory system grows a window: tables, forms, and live search.