first commit

master
parent b127a93c84
commit 56fb847451

@ -9,7 +9,7 @@ LINKOBJ = main.o
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libstdc++ -static-libgcc -g3 LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libstdc++ -static-libgcc -g3
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" 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"
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++" 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++"
BIN = ¿ÎÉè.exe BIN = keshe.exe
CXXFLAGS = $(CXXINCS) -g3 -std=c99 CXXFLAGS = $(CXXINCS) -g3 -std=c99
CFLAGS = $(INCS) -g3 -std=c99 CFLAGS = $(INCS) -g3 -std=c99
RM = rm.exe -f RM = rm.exe -f

Binary file not shown.

@ -6,7 +6,7 @@ Open=1
Top=1 Top=1
CursorCol=2 CursorCol=2
CursorRow=101 CursorRow=101
TopLine=384 TopLine=1
LeftChar=1 LeftChar=1
[Editor_1] [Editor_1]
Open=1 Open=1

@ -19,9 +19,9 @@ struct node{
}student[1000]; }student[1000];
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
if(!login())return 0;
//if(!login())return 0;
menus(); menus();
char choice; char choice;
while(1){ while(1){
printf("请输入正确选项!\n"); printf("请输入正确选项!\n");
@ -455,15 +455,6 @@ int login()
scanf("%s",zhang); scanf("%s",zhang);
printf("\n"); printf("\n");
printf("请输入您的密码:"); printf("请输入您的密码:");
// int k=0;
// for(k=0;k<100;k++){
// mi[k]=getch();
// if(mi[k]=='\r'){
// break;
// }
// printf("*");
// }
// mi[k]='\0';
scanf("%s",mi); scanf("%s",mi);
printf("\n"); printf("\n");
if(strcmp(mi,mi2)!=0||strcmp(zhang,zhang2)!=0){ if(strcmp(mi,mi2)!=0||strcmp(zhang,zhang2)!=0){

Binary file not shown.

BIN
main.o

Binary file not shown.
Loading…
Cancel
Save