Page 425 - C++
P. 425
int main()
{
s.num1();
int gdriver = DETECT, gmode, errorcode;
initgraph(&gdriver, &gmode, "E:/TCC");
errorcode = graphresult();
if (errorcode != grOk)
{
printf(
"Graphics error: %s\n", grapherrormsg(errorcode));
printf("Press any key to halt:");
getch();
exit(1);
}
score_initialize();// creation of score files first time
screen1();
screen2();
modemenu();
closegraph();
return 0;
}
//*********************************************************************