);
} knopka1: run (void)
{str [80], b1; kstr = 1; * fin = fopen (В«about.txtВ», В«rВ»); (15); (1); (2,7,78 , 22); (); (feof (fin) == 0)
{(fin, В«% cВ», & b1); (b1 == ' n') + +;
} (fin); (int i = 0; i
{(str, 80, fin); (40-0.5 * strlen (str), 1 + i * 2); (str);
} (0); (); ();
} knopka2: run (void)
{(P_WAIT, В«notepad.exeВ», В«notepadВ», В«KURSOVA.txtВ», NULL);
} knopka3: run (void)
{adress [40] = "C: bc31 bin bc.exeВ»; * adrf = fopen (В«BCadress.txtВ», В«rВ»); (adrf! = NULL) ( adress, 40, adrf); (adrf); (P_WAIT, adress, "В»,
В«KURSSSS.cppВ», NULL);
} knopka4: run (void)
{(P_WAIT, В«KURSSSS.exeВ», NULL);
} knopka5: run (void)
{(0);
} Menu: onLeft (void)
{= (nomAct == 0)? 4: (nomAct-= 1);
} Menu: onRight (void)
{= (nomAct == 4)? 0: (nomAct + = 1);
} Menu: onDown (void)
{[nomAct] -> run ();
} Menu: show (void)
{
_setcursortype (_NOCURSOR); (int i = 0; i <5; i + +) (i == nomAct) [i] -> show (actTextCol, actBgCol); [i] -> show (pasTextCol, pasBgCol);
} Menu: getmessage (int msg)
{(msg)
{LEFT: (); ();; RIGHT: (); ();; DOWN: (); ();
}
}: Menu (int xx, int yy)
{(str, 80, fin); [i] -> setparam (x, y, x + strlen (str) - 2, y, str); = x + strlen (str) ;
} (fin); ();
}
коло Радіус программа меню