can someone please tell me how and where to add prototypes for the functions in this program. I've only started a couple of days ago, and im really confused.
#include <iostream.h>
#include <conio.h>
int main()
{
int input;
cout<<"1. Play game";
cout<<"2. Load game";
cout<<"3. Play multiplayer";
cout<<"4. Exit";
cin>>input;
switch (input)
{
case 1: playgame();
break;
case 2:
loadgame();
break;
case 3: //Note use of : not ;
playmultiplayer();
break;
case 4:
return 0;
default:
cout<<"Error, bad input, quitting";
}
return 0;
}
I got this from the tuts on this site. Thanks for time, and have a nice day.