📄 dhry2.h
字号:
#ifndef _dhry_h_
#define _dhry_h
typedef enum Enumeration{Ident_1, Ident_2, Ident_3, Ident_4, Ident_5} Enum ;
typedef unsigned long One_Thirty;
typedef unsigned long One_Fifty;
typedef char Capital_Letter;
typedef char Str_30 [61]; //this was 31
typedef unsigned long Arr_1_Dim [100]; //originally this was set to 50
typedef unsigned long Arr_2_Dim [100] [100];
typedef struct record
{
struct record *Ptr_Comp;
Enumeration Discr;
union {
struct {
Enumeration Enum_Comp;
unsigned long Int_Comp;
char Str_Comp [61];
} var_1;
struct {
Enumeration E_Comp_2;
char Str_2_Comp [61];
} var_2;
struct {
char Ch_1_Comp;
char Ch_2_Comp;
} var_3;
} variant;
} Rec_Type, *Rec_Pointer;
//Applikationsklasse
class CDhryApp
{
public:
unsigned long main(unsigned long Number_Of_Runs);
protected:
//const unsigned long Too_Small_Time = 2000;
Rec_Pointer Ptr_Glob;
Rec_Pointer Next_Ptr_Glob;
unsigned long Int_Glob;
bool Bool_Glob;
char Ch_1_Glob;
char Ch_2_Glob;
unsigned long Arr_1_Glob [100];
unsigned long Arr_2_Glob [100] [100]; //originally this was 50
bool Reg;
#define REG
bool Func_3 (Enumeration Enum_Par_Val);
void Proc_6 (Enumeration Enum_Val_Par, Enumeration *Enum_Ref_Par);
void Proc_7 ( One_Fifty Int_1_Par_Val, One_Fifty Int_2_Par_Val, One_Fifty *Int_Par_Ref);
void Proc_8 (Arr_1_Dim Arr_1_Par_Ref, Arr_2_Dim Arr_2_Par_Ref, unsigned long Int_1_Par_Val, unsigned long Int_2_Par_Val);
Enumeration Func_1 ( Capital_Letter Ch_1_Par_Val, Capital_Letter Ch_2_Par_Val);
bool Func_2 ( Str_30 Str_1_Par_Ref, Str_30 Str_2_Par_Ref);
void Proc_5 ();
void Proc_4 ();
void Proc_3 (Rec_Pointer Ptr_Ref_Par);
void Proc_2 (One_Fifty Int_Par_Ref);
void Proc_1 (REG Rec_Pointer Ptr_Val_Par);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -