#include
#include
#include
#include
#include
#include
#include "file2.h"
#include "file3.cpp"
text1()
{
textcolor(0);
textbackground(15);
}
int i=1;
csd();
cgs();
es();
start();
li(int q);
int ch,d=0,q;
void main()
{
clrscr();
text1();
if(i==1)
{
start();
i++;
}
clrscr();
delay(1500);
cout<<"\nJURASSIC PARK CONTROL MODULE VERSION 4.1\n";
delay(500);
cout<<"--> CURRENT STATUS OF DINOSAURS......(1)\n";
delay(500);
cout<<"--> MAP OF JURASSIC PARK.............(2)\n";
delay(500);
cout<<"--> ELECTRICAL SUPPLIES..............(3)\n";
delay(500);
cout<<"--> LOG IN...........................(4)\n";
delay(500);
cout<<"--> EXIT.............................(PRESS ANY OTHER NUMERIC KEY)\n";
delay(500);
cout<<"ENTER CHOICE\n";
cin>>ch;
if (ch>=10)
{
cout<<"DO NOT ENTER LARGE NUMBERS";
delay(600);
main();
}
else if (ch==1)
{
while(d!=1)
{
d=li(q);
}
csd();
main();
}
else if(ch==2)
{
while(d!=1)
{
d=li(q);
}
cgs();
main();
}
else if(ch==3)
{
while(d!=1)
{
d=li(q);
}
es();
main();
}
else if(ch==4)
{
if(d==0)
{
d=li(q);
}
main();
}
else
exit(1);
getch();
}
No comments:
Post a Comment