common.h에 선언했던 내용

define과 enum도 그대로 복사했음

#ifndef _GLOBAL_DEFINE_
#define _GLOBAL_DEFINE_

#define SCHOOL_MAX_NUM 100
#define SCHOOL_NAME_LENGTH 10
#define A_KIND 4

enum {MAN = 0, WOMAN};
enum {ES = 0, MS, HS};
enum {_NONE = -1, _ERROR = 0, _SUCCESS};

typedef struct tagSchool
{
 int index;
 int sex;
 int level;
 CString school_name;
}SCHOOL;

typedef struct tagITEM
{
 int index;
 int s85[A_KIND];
 int s90[A_KIND];
 int s95[A_KIND];
 int s100[A_KIND];
}ITEM;

typedef struct tagHuman
{
 //int num;
 CString name;
 CString school_name;
 CString address;
 CString callme;
 int Js, Jn;
 int Vs, Vn;
 int Ss, Sn;
 int Bs, Bn;
}HUMAN;

#endif

+ Recent posts