I'm a beginner at c++ and I was struggling with using date. I thought the ctime library might be helpful but I'm not sure.
For my program, I need to let someone enter the date they joined a club, then I need to compare that with the current date to work out a membership fee.
I also wasn't sure of the best way to take in the date (e.g. enter day/month/year separately or together as a string?).
I couldn't find a simple way of doing this and I would greatly appreciate some help. Thank you.