Hey guys, as you know or have seen from my posts, I'm completely new to C++. I'm starting out with writing a program to show the difference between two dates. Primarily how many days there are between the two dates. I don't really need help on it, but I notice a lot and I mean a lot of conditional statements that are required for this problem. I was wondering if anyone had any tips that I could use to keep most of the unnecessary code out of the "Int main()". If I can put all the conditional statements into functions and then just call those functions from main, that would be awesome. I'm just not sure how to write it to do that. Functions and arguments have always been a problem for me to get inside my head.
haha Classes should be the last thing on my mind right now :D
I know how functions are used, but to use them properly is something I have yet to master. I'm not about to dive into classes just yet. The end of my semester he was going over structs, arrays, and vectors. I didn't attend that class since I was helping my mom out financially. Since the semester is over with and I've finally got a little more time to focus on C++, I'm definitely going to learn more. I had other classes that I had to focus on and since C++ was just an elective, I decided to barely pass by on that. Thanks for the tips though guys!