my mate is stucj again..... he gets an error saying

"124 parse error error at end of input"

here is the code:

/*
#include <string.h>
#include <windows.h> // included file types
#include <iostream>
using namespace std;

void instructions();

int weapons = 0;
int lives = 1, maxDamage = 0, totDamage = 0;
int magic = 0, maxMagic = 10, totMagic = 0;
int ToTEnemies = 25;
int ToTBosses = 3;
int ToTLevels = 3;
int PlayerHealth = 100; // varibles at start
int NumberOfPlayers = 0;
string levelname;
int choice;
int play;
char pname[54];
void level1();
void level2();
void level3();
int selecta;

int main()

{

printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
printf("\t\t|======================|======|\n");
printf("\t\t| | | |\ | --- | |\n");
printf("\t\t| | | | \ | | | |\n");
printf("\t\t| |\ | | | |-- | |\n"); // tile screen
printf("\t\t| | \ | | | ___| | |\n"); // unfinished
printf("\t\t| | |\n");
printf("\t\t|=============================|\n");

cout << "\n\n";
printf("programed by Peter Watts\n");
cout << "\n\n";
cout << "To play press 1 and return" << endl;
cin >> play;
NumberOfPlayers=NumberOfPlayers+1;
system ("cls");
cout << "\tMAIN MENU\n\n";
cout << "\n\n";
cout << "Press 1 to play\n";
cout << "\n\n"; // main menu
cout << "Press 2 to read instructions\n";
cout << "\n\n";
cout << "Press 3 to quit\n";
cout << "\n\n";
cin >> choice;

switch (choice) {

case 1:
system ("cls");
cout << "Please enter your first name: " << endl;
cout << "\n\n";
cin >> pname;
system ("cls");
cout << "Welcome " << pname;
cout << "\n\n"; // brgining of game
cout << "\n\n";
printf("Please Enter a choice...\n");
cout << "\n\n";
printf ("Press 4 to explore your surroundings\n");
cout << "\n\n";
printf("Press 5 to attack\n");
cout << "\n\n";
cout << "Your Selection: " << endl;
cin >> selecta;

switch (selecta) {

case 4:
system ("cls");
cout << "As you explore, you find a small knife." << endl;
weapons=weapons+1;

//old program code may or may not contain errors
//after this point

void level1();




break;

case 5:
system ("cls");
cout << "Theres Nothing to attack!!\n" << endl;
break;

case 2:
system ("cls"); // instructions
cout << "\tINSTRUCTIONS" << endl;
cout << "\n\n";
cout << "To Play Kimberly's Quest it could not be easier!\n" << endl;
cout << "Just press the keys that are displayed on the screen\n" << endl;
cout << "that correspond to the functions that need to be used.\n" << endl;
cout << "In battle, you will given a different sort of menu,\n" << endl;
cout << "but the means are the same.\n" << endl;
cout << "BEST OF LUCK!\n" << endl;
cout << "\n\n";
break;

case 3:

cout << "See you soon!\n" << endl;
break;
// quit game or user wrong choice
default:
cout << "Incorrect Choice!\n" << endl;
break;
{
system ("pause");
{

/*