성적관리 프로그램
본 자료는 미만의 자료로 미리보기를 제공하지 않습니다.
닫기
  • 1
해당 자료는 0페이지 까지만 미리보기를 제공합니다.
0페이지 이후부터 다운로드 후 확인할 수 있습니다.

목차

<< 성적 관리 프로그램>>

1. 입 력

2. 출 력

3. 수 정 밎 삭 제

4. 검 색

5. S A V E

6. L O A D

본문내용

#include
#include
#include

typedef struct Student{ // 학생 구조체
int id; // 학 번
char name[20]; // 이름
int Kor, Eng, Math; // 국어 영어 수학
int sum; // 합계
float Avg; // 평균
char Grade[3]; // 수, 우, 미, 양, 가
}Student;

int menu_ST();
void detailinput_ST(Student profile[100]);
void input_ST(Student profile[100]);

void output_ST(Student profile[100]);

void modedel_ST(Student profile[100]);
void search_ST(Student profile[100]);
void save_ST(Student profile[100]);
void load_ST(Student profile[100]);

int main(void){
Student profile[100];
int i;

for(i=0;i<100;i++)
profile[i].id = -1;

while(1){
system("cls");
switch(menu_ST()){
case 1:{
for(i=0;i<100;i++){
if(profile[i].id == -1){
input_ST(profile+i);
break;
}
}
break;
}
case 2:{
output_ST(profile);
break;
}
case 3:{
modedel_ST(profile);

break;
}
case 4:{
search_ST(profile);
break;
}
case 5:{
save_ST(profile);
break;
}
case 6:{
load_ST(profile);
break;
}
case 0:
exit(1);
}
system("pause");
}
return 0;
}
int menu_ST(){
int choice;
printf("<< 성적 관리 프로그램>>\n");
printf("1. 입 력\n");
printf("2. 출 력\n");
printf("3. 수 정 밎 삭 제\n");
printf("4. 검 색\n");
printf("5. S A V E\n");
printf("6. L O A D\n");
printf("0. 프 로 그 램 종 료\n");
printf("> ");
scanf("%d", &choice);

return choice;


}
  • 가격2,000
  • 페이지수1페이지
  • 등록일2010.01.31
  • 저작시기2010.1
  • 파일형식기타(cpp)
  • 자료번호#579461
본 자료는 최근 2주간 다운받은 회원이 없습니다.
다운로드 장바구니