I am having some trouble figuring out an assignment I was given in class. I am not looking for any code, but need a better explanation that what the teacher has given. Basically the program will calculate the number of days between any two days from 1/1/1900 through 12/31/2099, both dates will be entered by the user. I understand the algorithm and process, but am having a difficult time translating that into C++. I am not looking for any code, but maybe a better explanation of how to approach this program. I will be calling a function twice for the dates, and will use 3 different arrays to store the days in the month/leap year days etc.
Any information is greatly appreciated.