I have an assignment where I really have no idea how to even begin. It is as follows:
•Create a destructor that prints a message before exiting.
•Create a new function called
void incrementMinutes( Time &, const int );
That increments the minutes by count.
• create a member function that increments the minutes by 1
I'm very new to this stuff, but from what I have learned (apparently) I'm assuming I need a constructor and that the beginning needs to be:
#include <iostream>
using namespace std;
class incrementMinutes
{
public:
incrementMinutes()
Assuming this is where I need to begin at least with a constructor function but I do not even really know what to incorporate into this code, any advice at all would be greatly appreciated