master
1211226521@qq.com 6 years ago
parent ca7e18715d
commit eb536c64f9

Binary file not shown.

@ -1,4 +1,12 @@
龙族 江南 魔幻 江南 1
秘密 东野圭吾 社会 东野圭吾 3
恶意 东野圭吾 悬疑 东野圭吾 3
原来你非不快乐 林夕 青春文学 林夕 3
假面之夜 东野圭吾 悬疑 东野圭吾 4
白夜行 东野圭吾 社会 东野圭吾 5
任你行 林夕 青春文学 林夕 5
解忧杂货店 东野圭吾 社会 东野圭吾 6
微反应心理学 马浩天 社会 马浩天 6
重生之都市修仙 十里剑神 都市 十里剑神 11
深夜书屋 纯洁滴小龙 悬疑灵异 纯洁滴小龙 12
天道图书馆 横扫天涯 玄幻 横扫天涯 13

@ -1,2 +1,3 @@
аЗвЕ ╫╜до д╖╩ц ╫╜до ╣к╪яфФ
аЗвЕ ╫╜до д╖╩ц ╫╜до йФь╘
╤ЯрБ ╤╚р╟╧ГнА пЭри ╤╚р╟╧ГнА ╣к╪яфФ

@ -530,6 +530,15 @@ void add_() {
}
T = T->next;
}
for(i = H; i != NULL; i = i->next)
for(j = i->next; j != NULL; j = j->next)
if(i->number > j->number) {
Swap(i->name, j->name);
Swap(i->author, j->author);
Swap(i->type, j->type);
Swap(i->publish, j->publish);
Swap_num(&i->number, &j->number);
}
T = H;
FILE *fp = fopen("book.txt", "w");
while(T != NULL) {
@ -1345,6 +1354,15 @@ void Num(int a) {
}
}
T->number += a;
for(i = H; i != NULL; i = i->next)
for(j = i->next; j != NULL; j = j->next)
if(i->number > j->number) {
Swap(i->name, j->name);
Swap(i->author, j->author);
Swap(i->type, j->type);
Swap(i->publish, j->publish);
Swap_num(&i->number, &j->number);
}
T = H;
FILE *fp = fopen("book.txt", "w");
while(T != NULL) {

Binary file not shown.

@ -6,7 +6,7 @@
1546862293 source:c:\users\faceseace\desktop\图书管理系统\main.cpp
1543971123 c:\users\faceseace\desktop\图书管理系统\information.h
1546909335 c:\users\faceseace\desktop\图书管理系统\information.h
1546868050 source:c:\users\faceseace\desktop\图书管理系统\windows.cpp
<windows.h>
@ -20,7 +20,7 @@
<windows.h>
"information.h"
1546868110 source:c:\users\faceseace\desktop\图书管理系统\login.cpp
1546909335 source:c:\users\faceseace\desktop\图书管理系统\login.cpp
<cstdio>
<stdio.h>
<conio.h>
@ -54,3 +54,28 @@
<windows.h>
"information.h"
1546909335 source:e:\book\login.cpp
<cstdio>
<stdio.h>
<conio.h>
<stdlib.h>
<string.h>
<windows.h>
"information.h"
1546909335 e:\book\information.h
1546862293 source:e:\book\main.cpp
1547022399 source:e:\book\menu.cpp
<cstdio>
<stdio.h>
<conio.h>
<stdlib.h>
<string.h>
<windows.h>
"information.h"
1546868050 source:e:\book\windows.cpp
<windows.h>

@ -2,33 +2,24 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="information.h" open="1" top="1" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="information.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="184" topLine="0" />
<Cursor1 position="201" topLine="0" />
</Cursor>
</File>
<File name="main.cpp" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="menu.cpp" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="209" topLine="0" />
<Cursor1 position="15357" topLine="603" />
</Cursor>
</File>
<File name="menu.cpp" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="windows.cpp" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="7360" topLine="172" />
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="login.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="main.cpp" open="0" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6877" topLine="242" />
</Cursor>
</File>
<File name="windows.cpp" open="1" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="452" topLine="21" />
<Cursor1 position="209" topLine="0" />
</Cursor>
<Folding>
<Collapse line="2" />
<Collapse line="7" />
</Folding>
</File>
</CodeBlocks_layout_file>

Loading…
Cancel
Save