반응형

관리 프로그램 4

학생 성적 관리 프로그램(학생 수 입력, 학생 동적 메모리 할당, 파일 입출력) [C언어 소스]

학생 성적 관리 프로그램 #pragma warning(disable:4996) #include #include #include #define MAX_NAME_LEN 20 enum Subject { KOREAN, ENGLISH, MATH, MAX_SUBJECT }; const char *stitle[MAX_SUBJECT] = { "국어","영어","수학" }; typedef struct _Student Student; struct _Student { int num; char name[MAX_NAME_LEN]; int scores[MAX_SUBJECT]; }; #define DEF_FNAME "data.stu" int max_student; Student **stues; void Init(); void Ru..

학생 성적 관리 프로그램 (학생 동적 메모리 할당, 파일 입출력) [C언어 소스]

학생 성적 관리 프로그램 #pragma warning(disable:4996) #include #include #define MAX_NAME_LEN 20 enum Subject { KOREAN, ENGLISH, MATH, MAX_SUBJECT }; const char *stitle[MAX_SUBJECT] = { "국어","영어","수학" }; typedef struct _Student Student; struct _Student { int num; char name[MAX_NAME_LEN]; int scores[MAX_SUBJECT]; }; #define DEF_FNAME "data.stu" #define MAX_STUDENT 50 Student *stues[MAX_STUDENT]; void Init()..

학생성적관리프로그램(동적메모리할당,파일입출력) [C언어 소스]

학생 성적 관리 프로그램(동적 메모리 할당,파일 입출력) #pragma warning(disable:4996) #include #include #define MAX_NAME_LEN 20 enum Subject { KOREAN, ENGLISH, MATH, MAX_SUBJECT }; const char *stitle[MAX_SUBJECT] = { "국어","영어","수학" }; typedef struct _Student Student; struct _Student { int num; char name[MAX_NAME_LEN]; int scores[MAX_SUBJECT]; }; #define DEF_FNAME "data.stu" int max_student; Student *stues; void Init();..

학생 성적 관리 프로그램(전역변수, 학생구조체, 파일입출력) [C언어 소스]

학생 성적 관리 프로그램 [C언어 소스] #pragma warning(disable:4996) #include #include #define MAX_NAME_LEN 20 enum Subject { KOREAN, ENGLISH, MATH, MAX_SUBJECT }; const char *stitle[MAX_SUBJECT] = { "국어","영어","수학" }; typedef struct _Student Student; struct _Student { int num; char name[MAX_NAME_LEN]; int scores[MAX_SUBJECT]; }; #define DEF_FNAME "data.stu" #define MAX_STUDENT 50 Student stues[MAX_STUDENT]; voi..

반응형