Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.12 KB

File metadata and controls

23 lines (17 loc) · 1.12 KB

C++ Date-to-Day Calculator

Archive Note (1st Semester Project)

Note: This repository is part of my foundational archive. This project was originally developed approximately 2 years ago during my 1st semester as a computer science student. I am uploading it now to establish a complete timeline of my growth as a developer.

More projects from my subsequent semesters (including advanced algorithms, AI simulations, and graphics tools) will be uploaded to this profile soon.


About the Project

This is a pure logic-heavy console application written in C++. Given any year and month input, the algorithm dynamically processes leap years, monthly day rollovers, and baseline shifts relative to the January 1, 1900 (Monday) epoch to determine the correct day of the week.

Key Logic Handled:

  • Manual epoch-offset calculation tracking back to 1900.
  • Leap year detection cycles.
  • Dynamic baseline remainder checking (% 7 rollover tracking).

How to Run

To compile and run this application locally, use any standard C++ compiler (like GCC):

g++ task5daycheck.cpp -o DayCalculator
./DayCalculator