diff --git a/main.cpp b/main.cpp index 6c59dd2..03d2c44 100644 --- a/main.cpp +++ b/main.cpp @@ -363,6 +363,11 @@ void search() if(x==1) { + if(keywords[0]>=0) + { + if(keywords[0]==linkman.name[0])u=1; + } + else if(keywords[0]==linkman.name[0]&&keywords[1]==linkman.name[1])u=1; } if(x==2) @@ -523,7 +528,7 @@ int addpw() fflush(stdin); gets(pw); fputs(pw,ptr1); - puts(pw); + //puts(pw); printf("新建密码成功!"); fclose(ptr1); system("pause"); diff --git a/main.exe b/main.exe index a8254b9..47d0eab 100644 Binary files a/main.exe and b/main.exe differ diff --git a/passwd.sto b/passwd.sto index 13278b3..e69de29 100644 --- a/passwd.sto +++ b/passwd.sto @@ -1 +0,0 @@ -10086 \ No newline at end of file diff --git a/storage.sto b/storage.sto index 1e8099e..be3e37b 100644 --- a/storage.sto +++ b/storage.sto @@ -1 +1 @@ - 美滋滋 133900 2 haibucuo@stu.hut.edu.cn \ No newline at end of file + 美滋滋 133900 2 haibucuo@stu.hut.edu.cn 34 4325 1 rqewgv@qq.com \ No newline at end of file