so im starting the second half of my c++ class and we are getting into functions. are first assignment and im already stuck -__-

the teacher gives us the code for above main so we just need to write the prototypes.

heres my code so far (prototypes probably wrong) it builds but doesnt run.

```
#include <iostream>
#include <string>
using namespace std;
void getHours(int, string);
void getMinutes(int, string);
void calcTotalTime (/* complete */);
bool isValidMinutes (/* complete */);
bool isValidHours(/* complete */);
const int MAX_MINS = 59;
const int MAX_HOURS = 23;
const int MIN_MINS = 0;
const int MIN_HOURS = 0;
int main ()
{
int hours, minutes, addedHours, addedMinutes;
getHours(hours, "Enter the number of hours for the starting time: ");
getMinutes(minutes, "Enter the number of minutes for the starting time: ");
getHours (addedHours, "Enter the number of hours to be added to the starting time: ");
getMinutes (addedMinutes, "Enter the number of minutes to be added to the starting time: ");
calcTotalTime (hours, minutes, addedHours, addedMinutes);
cout << "\nThe total time is " << hours << " hours and "
<< minutes << " minutes." << endl;
system("pause");
return 0;
}
[B]void getHours(int &input1, string &hours)
{
cout << hours;
cin >> input1;
}
void getMinutes(int &input2, string &minutes)
{
cout << minutes;
cin >> input2;
}[/B]
```

need help with the bold parts etc.. im really confuse on writing the prototypes

heres how its supposed to run

Enter the number of hours for the starting time: 12

Enter the number of minutes for the starting time: 44

Enter the number of hours to be added to the starting time: 3

Enter the number of minutes to be added to the starting time: 18

The total time is 16 hours and 2 minutes.

help!