Thanks - I tried what you suggested and this is the error that I get
error C2440: 'return' : cannot convert from 'int (__cdecl *)(int)' to 'int'
int getStartTime(int time);
...
int getStartTime(int time)
{
printf("Please input start time: ");
scanf("%d", &time);
if(time >= 2401 || time <= -1)
{
printf("Invalid time. Please input a time between 0 and 2400.\n\n");
main();
}
return getStartTime;
}