third commit

master
陈冬 6 years ago
parent 86ebd42f66
commit 5bfc046276

@ -1,8 +0,0 @@
#include<stdio.h>
int main(void)
{
printf("Hello World");
return 0;
}

@ -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)

Binary file not shown.

Binary file not shown.

@ -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=

Binary file not shown.

@ -0,0 +1,8 @@
[Editor_0]
CursorCol=27
CursorRow=14
TopLine=10
LeftChar=1
[Editors]
Order=0
Focused=0

Binary file not shown.

@ -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);

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save