Practical learning · 8 projects
C++ Programming (modern C++ and DSA): projects and labs
Learn by doing: labs for each module, a project for each level, a capstone and a project exam. Every step is checked, and your work stays on this device.
Beginner
- Lab1.5 h · 4 stepsLab: a chai stall's day in C++Sharma ji runs a chai stall outside a college in Pune and wants a small program for his day's sales. You compile your first program with warnings on, work out the sales with variables, print money with two decimals without the integer-division trap, and then read the numbers from the keyboard.Not started
- Lab1.5 h · 4 stepsLab: slab-rate electricity billsA housing society in Nagpur collects the meter readings of its houses and shops and wants each bill worked out the way the power board does it: slab rates plus a fixed charge. You write the slab function, a switch for the fixed charge, a loop over the readings and a check that skips bad readings.Not started
- Lab2 h · 4 stepsLab: a UPI wallet with references and pointersBuild the core of a small UPI wallet: functions that change the balance through references, totals over a list of payments, a pointer to the largest payment that is nullptr when there are none, and a check that a UPI ID looks like name@bank.Not started
- Project4 h · 6 stepsProject: a kirana shop's GST billWrite the billing program for a kirana shop in Pune. It reads the items from a file, works out each line, the GST per line and per slab, splits it into CGST and SGST, rounds to the nearest rupee and skips bad lines with a clear reason.Not started
Expert
- Project8 h · 7 stepsProject: a UPI statement analyser built with CMakeBuild a command-line tool that reads a month of UPI payments from a CSV file and prints a spending report: totals by category in Indian digit grouping (Rs 1,23,456.78), failed payments, bad lines with their line numbers, and the top merchants. It is a real CMake project with a library, a program and tests run by ctest.Not started
- Capstone16 h · 10 stepsCapstone: a stock exchange order bookBuild the heart of a stock exchange: a limit order book that matches buy and sell orders by price and then by time, handles cancels and bad input, reports VWAP, passes its unit tests under AddressSanitizer and processes a million orders in well under ten seconds. It is a complete CMake project with a README, ready for GitHub and your CV.Not started
- Project exam1.5 h · 6 tasksProject exam: hostel mess billsA timed, hands-on exam. A college hostel mess needs its monthly bills. You get one file, mess.cpp, whose main is already written, and six functions or classes to complete in 90 minutes: meal rates and bills, a minimum charge, meal counts, parsing typed records, a mess account that rejects bad deposits, and the top eaters. Each task is checked from the program's output.Not taken