This thesis contains program coding module for generation logics test by Boolean gap

Delphi & Pascal (česká wiki)
Přejít na: navigace, hledání
Category: Programs in C, C++

Program: Prac_ndf.cBooldif.zip
File exe: Booldif.exe
need: Adresar.cColor.cDerivac.cError.cFunkcie.cHelp.cKey.cLine_edi.cMain.cMenu.cObsluha.cOkno.cPrac_ndf.cSlovnik.cSlov_fon.cStatist.cUtil.cVideo.cVystupy.cAdresar.hColor.hDefine.hError.hFunkcie.hGlob.hKey.hLine_edi.hMbooldif.hMenu.hOkno.hSlov_fon.hUtil.hVideo.h
Example: Example.zipBin_10_o.ndfBin_10_o.ndfBin_1and.ndfBin_2rad.ndfBin_3rad.ndfBin_4rad.ndfHard.ndfI_reg_lo.ndfReg_jk.ndfScitac_s.ndfScp_1rad.ndfScp_2rad.ndfScp_2r_1.ndfScp_3rad.ndfScp_4r_2.ndfScp_6r_3.ndfScp_8r_4.ndfSc_1r_pj.ndfSc_1r_sj.ndfSc_1_aoi.ndfSc_2r_4.ndfSc_3r_6.ndfSc_7400n.ndfSc_aon.ndfSimp3_a.ndfSimp3_b.ndfSimp4_a.ndfSimp4_b.ndfSimp4_c.ndfSimp6_a.ndfTest_vod.ndfZle.ndf
Manual: Prirucky.zip

This thesis contains program coding module for generation logics test by Boolean gap. Compile vector of fault for existent circuit, forth about all boughs herself chauffeur. Results is absolute gauge. Program application enables four modes It is implemented in the C programming language for the operating system MS-DOS, or another compatible with it. The program is suitable for an interactive way to communicate with the user, allowing a comfortable working environment are similar to Turbo Vision.
/*****************************************************************************
*								             *
*                                Subor MENU.H                                *
*								             *
*****************************************************************************/
 
typedef struct Polozka_HL_Menu{
	unsigned int stlpec;
	char hot_key;
	char *text;
	char *spodny_riadok;
	char **help;
	} Polozka_HL_Menu;
 
 
typedef struct Polozka_Menu{
	char	hot_key;
	char	*text;
	char	*spodny_riadok;
	char	**help;
	int	cinnost;
 
	union
		{
		int		(far* fnc)(void);
		struct	Menu	*podmenu;
		} c;
	} Polozka_Menu;
 
 
typedef struct HL_Menu{
	unsigned int riadok;
	unsigned char attr_okna;
	unsigned char attr_bar;
	unsigned char attr_hot_key;
	unsigned char attr_spodneho_riadku;
	struct Polozka_HL_Menu *polozky;
	int posledna_volba;
	} HL_Menu;
 
 
typedef struct Menu{
	unsigned int lavy;
	unsigned int horny;
	unsigned char attr_okna;
	unsigned char attr_okraja;
	unsigned char attr_bar;
	unsigned char attr_hot_key;
	unsigned char attr_spodneho_riadku;
	unsigned char typ_okraja;
 
	struct Polozka_Menu	*polozky;
 
	int posledna_volba;
	} Menu;
 
 
extern struct HL_Menu hlavne_menu;
extern struct Menu podmenu[];
 
 
int  pull_down_menu( struct HL_Menu *hlavne,struct Menu podmenu[],int volba );
int  zvisle_menu( struct Menu *menu );
int  vodorovne_menu( struct HL_Menu *menu );
void tlac_vodorovne_menu( struct HL_Menu *menu );
void zvyrazni_vodorovne_menu( struct HL_Menu *menu );
void tlac_riadok_menu( int zx,int zy,int riadok,struct Menu *menu,int sirka );
void tlac_riadok_help( char *p,unsigned char attr1,unsigned char attr2 );
int  zisti_sirku_okna( Polozka_Menu *polozky );
int  zisti_vysku_okna( Polozka_Menu *polozky );
void inic_menu( struct HL_Menu *hlavne,struct Menu podmenu[] );
 
 
/*--------------------------------END---------------------------------------*/