Inspiration
Before exams, the hardest part isn't studying. It's deciding what to study today when you have several subjects, a long list of topics and not many days left. Most students either panic or leave everything to the last night. I wondered: what if a simple program could turn "3 exams in 10 days" into a clear daily checklist?
What it does
- You add exams with a subject, date and topics (typed as a comma-separated list)
- "What should I study today?" shows today's topics across all subjects
- Full study plan gives a day-by-day schedule up to the last exam, with the day before each exam kept for revision
- Tick off topics as you finish them, and the plan updates
- Exams overview shows days left and warns when the workload is heavy (more than 2 topics a day)
- Rejects impossible dates (like 31 Feb), past dates and invalid input
How we built it
A C++17 console program using only arrays and structs (no STL containers):
- each
struct Examstores its subject, date and an array of topics - exams are kept sorted by date with insertion sort, so the soonest exam is always first
- each date is converted to a single day number, so "days left" is a subtraction
- topics are spread evenly with
day = t × studyDays / topicCount - ticking off a topic deletes it from the array by shifting the other elements left
Challenges we ran into
- Working out days between dates correctly, including different month lengths and leap years
- Spreading topics fairly when there are more topics than days, or more days than topics
- Planning several exams at once, so each one gets its own study days and revision day
- Deleting from the middle of an array without leaving gaps
Accomplishments that we're proud of
It turns a stressful exam schedule into a simple "do this today" list, and it handles several subjects at the same time.
What we learned
- Insertion sort in a real use case (keeping a list sorted as items arrive)
- Date arithmetic by converting dates to day numbers
- Array deletion by shifting elements
- Validating user input so a program never crashes on bad input
What's next for Study CountDown
- Letting users mark some topics as "hard" so they get more time
- Saving plans between sessions
- A mobile version with daily reminders