Well I figured out why i was having so much trouble before with my code but now I have a new problem. I am getting a message when I compile it that says: invalid operands `int ()()' and `int' to binary `operator %'
This error occurs in my bool function. here is what my bool function looks like:
**if ((getYear % 400) == 0) LeapYear=true;
**else if ((getYear % 4) != 0 || getYear %100 == 0) LeapYear=false;
Any ideas on what could be causing this message would be greatly appreciated.