So, I'm attempting to create a calendar using basic C++ concepts.
Honestly, I've only been doing this for about 5 weeks now, and a lot of the basics of C++ are still giving me trouble.
Anyway, I'm shooting for creating a calendar that takes the user input of the year and what day of the week that specific year starts on then outputs a single year calendar. I know it needs take into account leap years.
This is as far as I've gotten, and I'm just kind of confused as to which step I should take next.
I know I need to somehow take out the month input, because I put that in before I refined my requirements, but I'm not sure how to without losing my leap year equations!
I'm just kind of confused as to which step I should take next
So your question is how to ask questions to make decisions?
I just ran your routine and it looks nice. Only one thing is questionable, why do you query for the first day of year? 1/1/1900 was a Monday and every seventh day after that also.
A better idea would be to ask the user about the first day of week, many regard Monday as the beginning of a week.