diff --git a/1.1打印输出 Hello World.c b/1.1打印输出 Hello World.c deleted file mode 100644 index 3ff4ecd..0000000 --- a/1.1打印输出 Hello World.c +++ /dev/null @@ -1,8 +0,0 @@ -#include - int main(void) - { - printf("Hello World"); - return 0; - } - - diff --git a/Makefile.win b/Makefile.win new file mode 100644 index 0000000..b869f06 --- /dev/null +++ b/Makefile.win @@ -0,0 +1,28 @@ +# Project: ѧɼϵͳ +# Makefile created by Dev-C++ 5.11 + +CPP = g++.exe +CC = gcc.exe +WINDRES = windres.exe +OBJ = .o +LINKOBJ = .o +LIBS = -L"D:///Dev-Cpp/MinGW64/lib" -L"D:///Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc +INCS = -I"D:///Dev-Cpp/MinGW64/include" -I"D:///Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:///Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" +CXXINCS = -I"D:///Dev-Cpp/MinGW64/include" -I"D:///Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"D:///Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"D:///Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" +BIN = ѧɼϵͳ.exe +CXXFLAGS = $(CXXINCS) +CFLAGS = $(INCS) +RM = rm.exe -f + +.PHONY: all all-before all-after clean clean-custom + +all: all-before $(BIN) all-after + +clean: clean-custom + ${RM} $(OBJ) $(BIN) + +$(BIN): $(OBJ) + $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) + +.o: .cpp + $(CPP) -c .cpp -o .o $(CXXFLAGS) diff --git a/gmon.out b/gmon.out deleted file mode 100644 index b392d54..0000000 Binary files a/gmon.out and /dev/null differ diff --git a/stu.dat b/stu.dat new file mode 100644 index 0000000..47ed5ee Binary files /dev/null and b/stu.dat differ diff --git a/学生成绩管理系统.dev b/学生成绩管理系统.dev new file mode 100644 index 0000000..a880bcb --- /dev/null +++ b/学生成绩管理系统.dev @@ -0,0 +1,62 @@ +[Project] +FileName=ѧɼϵͳ.dev +Name=ѧɼϵͳ +Type=1 +Ver=2 +ObjFiles= +Includes= +Libs= +PrivateResource= +ResourceIncludes= +MakeIncludes= +Compiler= +CppCompiler= +Linker= +IsCpp=1 +Icon= +ExeOutput= +ObjectOutput= +LogOutput= +LogOutputEnabled=0 +OverrideOutput=0 +OverrideOutputName= +HostApplication= +UseCustomMakefile=0 +CustomMakefile= +CommandLine= +Folders= +IncludeVersionInfo=0 +SupportXPThemes=0 +CompilerSet=0 +CompilerSettings=0000000000000000000000000 +UnitCount=1 + +[VersionInfo] +Major=1 +Minor=0 +Release=0 +Build=0 +LanguageID=1033 +CharsetID=1252 +CompanyName= +FileVersion= +FileDescription=Developed using the Dev-C++ IDE +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion= +AutoIncBuildNr=0 +SyncProduct=1 + +[Unit1] +FileName=.cpp +CompileCpp=1 +Folder= +Compile=1 +Link=1 +Priority=1000 +OverrideBuildCmd=0 +BuildCmd= + diff --git a/学生成绩管理系统.exe b/学生成绩管理系统.exe new file mode 100644 index 0000000..903faa3 Binary files /dev/null and b/学生成绩管理系统.exe differ diff --git a/学生成绩管理系统.layout b/学生成绩管理系统.layout new file mode 100644 index 0000000..1f9fa38 --- /dev/null +++ b/学生成绩管理系统.layout @@ -0,0 +1,8 @@ +[Editor_0] +CursorCol=27 +CursorRow=14 +TopLine=10 +LeftChar=1 +[Editors] +Order=0 +Focused=0 diff --git a/未命名1.exe b/未命名1.exe deleted file mode 100644 index 535c629..0000000 Binary files a/未命名1.exe and /dev/null differ diff --git a/计算机学院课程设计(实训)报告模板4.doc b/计算机学院课程设计(实训)报告模板.doc similarity index 100% rename from 计算机学院课程设计(实训)报告模板4.doc rename to 计算机学院课程设计(实训)报告模板.doc diff --git a/未命名1.cpp b/课设.cpp similarity index 99% rename from 未命名1.cpp rename to 课设.cpp index 129a62f..64189af 100644 --- a/未命名1.cpp +++ b/课设.cpp @@ -470,7 +470,7 @@ void filewrite(struct student stu[M]) //д } if (c=='y') { - if((fp=fopen("d:\\stu.dat","wb"))==NULL) + if((fp=fopen("stu.dat","wb"))==NULL) { printf("ļ򿪴,޷\n"); exit(0); @@ -505,7 +505,7 @@ void fileread(struct student stu[M]) // } if (c=='y') { - if((fp=fopen("d:\\stu.dat","rb"))==NULL) + if((fp=fopen("stu.dat","rb"))==NULL) { printf("ļ򿪴,޷\n"); exit(0); diff --git a/课设.exe b/课设.exe new file mode 100644 index 0000000..7c76183 Binary files /dev/null and b/课设.exe differ diff --git a/课设.o b/课设.o new file mode 100644 index 0000000..62cb472 Binary files /dev/null and b/课设.o differ