?
2014-09-06 21:11:24 UTC
My plan is to have 3 private members of type char, a member function of type void that takes no arguments and asks the user to input the 3 letters. A void function that uses a switch or if statement to output the actual day.
I'm also asked to use constructors. WHAT FOR?! to my understanding a constructor is a some kind of functions that takes in arguments from the main function (not necessarily) and assigns them ti the private members (in the definition). In this example, the user of the program, not the programmer, is supposed to input the letters. Note that I'm also required to use the input function.
So why would I declare a constructor, invoke it with some random values, invoke the input function that will change the member variable.
Is there something I'm missing?
Thanks!