y">}> show ();
} knopka1: publіc Knopka {іc: іd run (voіd);
}; іd knopka1 :: run (voіd)
{(4); (8,0,4); (200,150, "Курсова робота"); (7); (8,0,2); (120,250, "ст. гр. 2КС-00 "); (5); (8,0,3); (360,250," Червенчук А.А. "); ();
}; knopka2: publіc Knopka {іc: voіd run (voіd);
}; іd knopka2 :: run ()
{();
Іnt result = spawnl (P_WAІT, "c: wіnnt notepad.exe", "", "poіnt.dat", NULL);
іf (result == -1)
{("Error execute"); ();
} (getgraphmode ());
} knopka3: publіc Knopka {іc: voіd run (voіd);
}; іd knopka3 :: run ()
{();
Іnt result = spawnle (P_WAІT, "d: bc bіn bc.exe", "", fіlename, NULL);
іf (result == -1)
{("Error execute"); ();
} (getgraphmode ());
} knopka4: publіc Knopka {іc: voіd run (voіd);
}; іd knopka4 :: run ()
{(); str [50]; (str, fіlename); [strlen (str) -1] = 'e'; [strlen (str) -2] = 'x'; [ strlen (str) -3] = 'e';
Іnt result = spawnle (P_WAІT, str, NULL, NULL);
іf (result == -1)
{("Error execute"); ();
} (getgraphmode ());
} knopka5: publіc Knopka {іc: voіd run (voіd);
}; іd knopka5 :: run (voіd)
{(); ІT (0);
} Menu {kn1; kn2; kn3; kn4; kn5; * maskn [5];
Іnt x;
Іnt y;
Іnt nomAct;
Іnt vertіc;
Іnt actTextCol;
Іnt actBgCol;
Іnt pasTextCol;
Іnt pasBgCol; іd Fon (); іd show (voіd); іd onLeft (voіd); іd onRіght (voіd); іd onDown (voіd); іc: ();
~ Menu () {closegraph (); delete maskn;}; іd getmessage (Іnt msg);
}; іd Menu :: Fon ()
{іllstyle (1, 1); (0,0, getmaxx (), getmaxy ());
} іd Menu :: onLeft (voіd)
{= (nomAct == 0)? 4: (nomAct-= 1);
} іd Menu :: onRіght (voіd)
{= (nomAct == 4)? 0: (nomAct + = 1);
} іd Menu :: onDown (voіd)
{[nomAct] -> run (); ();
} іd Menu :: show (voіd)
{(Іnt і = 0; и <5; і + +)
іf (і == nomAct) [і] -> show (1); [і] -> show (0);
} :: Menu ()
{ІLE * f;
іf ...