├── .gitignore ├── StudentScoreManagerSystem ├── .gitignore ├── Makefile.win ├── Student.h ├── StudentManageSystem.dev ├── StudentManageSystem.layout ├── disposal.c ├── input.c ├── main.c ├── manage.c ├── print.c ├── 优等生.txt ├── 原始数据.txt ├── 学生不及格科目.txt ├── 学生综合成绩.txt ├── 成绩管理系统.c └── 统计数据.txt ├── data.txt └── readme.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | *.ko 4 | *.obj 5 | *.elf 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Libraries 12 | *.lib 13 | *.a 14 | *.la 15 | *.lo 16 | 17 | # Shared objects (inc. Windows DLLs) 18 | *.dll 19 | *.so 20 | *.so.* 21 | *.dylib 22 | 23 | # Executables 24 | *.exe 25 | *.out 26 | *.app 27 | *.i*86 28 | *.x86_64 29 | *.hex 30 | 31 | # Debug files 32 | *.dSYM/ 33 | *.su 34 | -------------------------------------------------------------------------------- /StudentScoreManagerSystem/.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | *.ko 4 | *.obj 5 | *.elf 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Libraries 12 | *.lib 13 | *.a 14 | *.la 15 | *.lo 16 | 17 | # Shared objects (inc. Windows DLLs) 18 | *.dll 19 | *.so 20 | *.so.* 21 | *.dylib 22 | 23 | # Executables 24 | *.exe 25 | *.out 26 | *.app 27 | *.i*86 28 | *.x86_64 29 | *.hex 30 | 31 | # Debug files 32 | *.dSYM/ 33 | *.su 34 | -------------------------------------------------------------------------------- /StudentScoreManagerSystem/Makefile.win: -------------------------------------------------------------------------------- 1 | # Project: StudentManageSystem 2 | # Makefile created by Dev-C++ 5.11 3 | 4 | CPP = g++.exe 5 | CC = gcc.exe 6 | WINDRES = windres.exe 7 | OBJ = main.o input.o disposal.o print.o manage.o 8 | LINKOBJ = main.o input.o disposal.o print.o manage.o 9 | LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc 10 | INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" 11 | CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" 12 | BIN = StudentManageSystem.exe 13 | CXXFLAGS = $(CXXINCS) 14 | CFLAGS = $(INCS) 15 | RM = rm.exe -f 16 | 17 | .PHONY: all all-before all-after clean clean-custom 18 | 19 | all: all-before $(BIN) all-after 20 | 21 | clean: clean-custom 22 | ${RM} $(OBJ) $(BIN) 23 | 24 | $(BIN): $(OBJ) 25 | $(CC) $(LINKOBJ) -o $(BIN) $(LIBS) 26 | 27 | main.o: main.c 28 | $(CC) -c main.c -o main.o $(CFLAGS) 29 | 30 | input.o: input.c 31 | $(CC) -c input.c -o input.o $(CFLAGS) 32 | 33 | disposal.o: disposal.c 34 | $(CC) -c disposal.c -o disposal.o $(CFLAGS) 35 | 36 | print.o: print.c 37 | $(CC) -c print.c -o print.o $(CFLAGS) 38 | 39 | manage.o: manage.c 40 | $(CC) -c manage.c -o manage.o $(CFLAGS) 41 | -------------------------------------------------------------------------------- /StudentScoreManagerSystem/Student.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/Student.h -------------------------------------------------------------------------------- /StudentScoreManagerSystem/StudentManageSystem.dev: -------------------------------------------------------------------------------- 1 | [Project] 2 | FileName=StudentManageSystem.dev 3 | Name=StudentManageSystem 4 | Type=1 5 | Ver=2 6 | ObjFiles= 7 | Includes= 8 | Libs= 9 | PrivateResource= 10 | ResourceIncludes= 11 | MakeIncludes= 12 | Compiler= 13 | CppCompiler= 14 | Linker= 15 | IsCpp=0 16 | Icon= 17 | ExeOutput= 18 | ObjectOutput= 19 | LogOutput= 20 | LogOutputEnabled=0 21 | OverrideOutput=0 22 | OverrideOutputName= 23 | HostApplication= 24 | UseCustomMakefile=0 25 | CustomMakefile= 26 | CommandLine= 27 | Folders= 28 | IncludeVersionInfo=0 29 | SupportXPThemes=0 30 | CompilerSet=0 31 | CompilerSettings=0000000000000000000000000 32 | UnitCount=6 33 | 34 | [VersionInfo] 35 | Major=1 36 | Minor=0 37 | Release=0 38 | Build=0 39 | LanguageID=1033 40 | CharsetID=1252 41 | CompanyName= 42 | FileVersion= 43 | FileDescription=Developed using the Dev-C++ IDE 44 | InternalName= 45 | LegalCopyright= 46 | LegalTrademarks= 47 | OriginalFilename= 48 | ProductName= 49 | ProductVersion= 50 | AutoIncBuildNr=0 51 | SyncProduct=1 52 | 53 | [Unit1] 54 | FileName=main.c 55 | CompileCpp=0 56 | Folder= 57 | Compile=1 58 | Link=1 59 | Priority=1000 60 | OverrideBuildCmd=0 61 | BuildCmd= 62 | 63 | [Unit2] 64 | FileName=Student.h 65 | CompileCpp=0 66 | Folder= 67 | Compile=1 68 | Link=1 69 | Priority=1000 70 | OverrideBuildCmd=0 71 | BuildCmd= 72 | 73 | [Unit3] 74 | FileName=input.c 75 | CompileCpp=0 76 | Folder= 77 | Compile=1 78 | Link=1 79 | Priority=1000 80 | OverrideBuildCmd=0 81 | BuildCmd= 82 | 83 | [Unit4] 84 | FileName=disposal.c 85 | CompileCpp=0 86 | Folder= 87 | Compile=1 88 | Link=1 89 | Priority=1000 90 | OverrideBuildCmd=0 91 | BuildCmd= 92 | 93 | [Unit5] 94 | FileName=print.c 95 | CompileCpp=0 96 | Folder= 97 | Compile=1 98 | Link=1 99 | Priority=1000 100 | OverrideBuildCmd=0 101 | BuildCmd= 102 | 103 | [Unit6] 104 | FileName=manage.c 105 | CompileCpp=0 106 | Folder= 107 | Compile=1 108 | Link=1 109 | Priority=1000 110 | OverrideBuildCmd=0 111 | BuildCmd= 112 | 113 | -------------------------------------------------------------------------------- /StudentScoreManagerSystem/StudentManageSystem.layout: -------------------------------------------------------------------------------- 1 | [Editors] 2 | Order=0,1,2,3,4,5 3 | Focused=0 4 | [Editor_0] 5 | CursorCol=44 6 | CursorRow=46 7 | TopLine=112 8 | LeftChar=1 9 | [Editor_1] 10 | CursorCol=20 11 | CursorRow=2 12 | TopLine=26 13 | LeftChar=1 14 | [Editor_2] 15 | CursorCol=21 16 | CursorRow=1 17 | TopLine=36 18 | LeftChar=1 19 | [Editor_3] 20 | CursorCol=21 21 | CursorRow=1 22 | TopLine=1 23 | LeftChar=1 24 | [Editor_4] 25 | CursorCol=21 26 | CursorRow=1 27 | TopLine=1 28 | LeftChar=1 29 | [Editor_5] 30 | CursorCol=38 31 | CursorRow=5 32 | TopLine=1 33 | LeftChar=1 34 | -------------------------------------------------------------------------------- /StudentScoreManagerSystem/disposal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/disposal.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/input.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/main.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/manage.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/manage.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/print.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/优等生.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/优等生.txt -------------------------------------------------------------------------------- /StudentScoreManagerSystem/原始数据.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/原始数据.txt -------------------------------------------------------------------------------- /StudentScoreManagerSystem/学生不及格科目.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/学生不及格科目.txt -------------------------------------------------------------------------------- /StudentScoreManagerSystem/学生综合成绩.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/学生综合成绩.txt -------------------------------------------------------------------------------- /StudentScoreManagerSystem/成绩管理系统.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/成绩管理系统.c -------------------------------------------------------------------------------- /StudentScoreManagerSystem/统计数据.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/910515542/StudentScoreManagerSystem/77c48ff481bf0d127af3782c46a94c0cea39bbdc/StudentScoreManagerSystem/统计数据.txt -------------------------------------------------------------------------------- /data.txt: -------------------------------------------------------------------------------- 1 | 2018081101 唐龙 78.0 89.0 67.0 90.0 66.0 2 | 2018081102 杨帅 89.0 90.0 77.0 86.0 55.0 3 | 2018081103 李杰 45.0 78.0 95.0 67.0 87.0 4 | 2018081104 唐涛 78.0 89.0 90.0 67.0 88.0 5 | 2018081105 唐滔 78.0 34.0 56.0 78.0 90.0 6 | 2018081106 尹小轩 88.0 90.0 89.0 97.0 76.0 7 | 2018081107 小明 78.0 89.0 67.0 78.0 0.0 8 | 2018081108 刘功能 78.0 89.0 88.0 90.0 82 9 | 2018081109 许漫 89.0 90.0 78.0 67.0 55.0 10 | 2018081110 杨洋 90.0 78.0 67.0 89.0 70.0 11 | -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | #### 该程序包括以下功能: 2 |

1.录入每个学生的学号、姓名和各科考试成绩 3 |

2.计算每门课程的总分和平均分 4 |

3.计算每个学生的总分和平均分 5 |

4.按每个学生的总分由高到低排出名次表 6 | <5> 5.输入学号修改或删除指定学生信息 7 |

6.按学号由小到大或由大到小排出成绩表 8 |

7.按姓名的字典顺序排出成绩表 9 |

8.按学号查询学生排名及其考试成绩 10 |

9.按姓名查询学生排名及其考试成绩 11 |

10.按优秀(90-100)、良好(80-89)、中等(70-79)、及格(60-69)、不及格(0-59)5个类别,对每门课程分别统计每个类别的人数 12 |

11.按优等生标准找出所有优等生 13 |

12.输出每个学生的学号、姓名、各科考试成绩,以及每门课程的总分和平均分 14 |

13.将每个学生的纪录信息写入文件 15 |

14.将每门课程的记录信息写入文件 16 |

15.文件描述: 17 | (1).原始数据.txt ---> 第一次输入的学生数据 18 | (2).学生综合成绩.txt ---> 计算总分、平均分且排完名的学生数据 19 | (3).统计数据.txt ---> 每门课程数据 20 | (4).优等生.txt ---> 按标准筛选出来的优秀学生名单(A.平均成绩上 80。 B.平均成绩及格但未上 80,有单科成绩上 90。 C.平均成绩未及格,有单科满分。满足一项即可) 21 | (5).学生不及格科目.txt ---> 每个学生不及格的科目 22 |

作者:尹小轩 时间:2019/06/06 --------------------------------------------------------------------------------