├── C++版本 ├── Debug │ ├── LibrarySystemC+.exe │ ├── LibrarySystemC+.ilk │ └── LibrarySystemC+.pdb ├── LibrarySystemC+.sdf ├── LibrarySystemC+.sln ├── LibrarySystemC+.v12.suo ├── LibrarySystemC+ │ ├── Admin.cpp │ ├── Admin.h │ ├── Book.cpp │ ├── Book.h │ ├── Debug │ │ ├── Admin.obj │ │ ├── Book.obj │ │ ├── LibrarySystemC+.log │ │ ├── LibrarySystemC+.tlog │ │ │ ├── CL.read.1.tlog │ │ │ ├── CL.write.1.tlog │ │ │ ├── LibrarySystemC+.lastbuildstate │ │ │ ├── cl.command.1.tlog │ │ │ ├── link.command.1.tlog │ │ │ ├── link.read.1.tlog │ │ │ └── link.write.1.tlog │ │ ├── Menu.obj │ │ ├── User.obj │ │ ├── main.obj │ │ ├── vc120.idb │ │ └── vc120.pdb │ ├── LibrarySystemC+.vcxproj │ ├── LibrarySystemC+.vcxproj.filters │ ├── LibrarySystemC+.vcxproj.user │ ├── Menu.cpp │ ├── Menu.h │ ├── User.cpp │ ├── User.h │ └── main.cpp └── README.md ├── C版本 ├── README.md └── src │ ├── main.cpp │ ├── main.exe │ └── main.o ├── README.md └── capture └── c1.png /C++版本/Debug/LibrarySystemC+.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/Debug/LibrarySystemC+.exe -------------------------------------------------------------------------------- /C++版本/Debug/LibrarySystemC+.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/Debug/LibrarySystemC+.ilk -------------------------------------------------------------------------------- /C++版本/Debug/LibrarySystemC+.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/Debug/LibrarySystemC+.pdb -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+.sdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+.sdf -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LibrarySystemC+", "LibrarySystemC+\LibrarySystemC+.vcxproj", "{29A65450-7340-4C72-9EFE-DE27D7B94EC3}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Win32 = Debug|Win32 11 | Release|Win32 = Release|Win32 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {29A65450-7340-4C72-9EFE-DE27D7B94EC3}.Debug|Win32.ActiveCfg = Debug|Win32 15 | {29A65450-7340-4C72-9EFE-DE27D7B94EC3}.Debug|Win32.Build.0 = Debug|Win32 16 | {29A65450-7340-4C72-9EFE-DE27D7B94EC3}.Release|Win32.ActiveCfg = Release|Win32 17 | {29A65450-7340-4C72-9EFE-DE27D7B94EC3}.Release|Win32.Build.0 = Release|Win32 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+.v12.suo -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Admin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Admin.cpp -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Admin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Admin.h -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Book.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "Book.h" 4 | using namespace std; 5 | 6 | Book::Book(){ 7 | 8 | } 9 | 10 | Book::~Book(){ 11 | 12 | } 13 | 14 | void Book::CreateNode(){ 15 | head = new Nbook; 16 | head->next = NULL; 17 | } 18 | 19 | void Book::ShowBook(){ 20 | cout << "\t----------------------------------------------------------------------------" << endl; 21 | cout << "\t编号" << "\t" << "书名" << "\t" << "作者" << "\t" << "出版社" << "\t" << "库存" << endl; 22 | cout << "\t----------------------------------------------------------------------------" << endl; 23 | if (head->next == NULL){ 24 | cout << "暂无书籍信息" << endl; 25 | } 26 | else{ 27 | Nbook* pshow = head; 28 | while (pshow->next != NULL) 29 | { 30 | pshow = pshow->next; 31 | 32 | cout <<"\t"<book_number<<"\t"<< pshow->book_name<<"\t" <book_author<< "\t"<book_concern<<"\t"<book_surplus<next != NULL) 40 | { 41 | Insert = Insert->next; 42 | } 43 | Nbook* pnew = new Nbook; 44 | pnew->next = NULL; 45 | getchar(); 46 | cout << "请录入书编号:"; 47 | getline(cin,pnew->book_number); 48 | cout << "请录入书名:"; 49 | getline(cin, pnew->book_name); 50 | cout << "请录入作者名:"; 51 | getline(cin,pnew->book_author); 52 | cout << "请录入出版社:"; 53 | getline(cin, pnew->book_concern); 54 | cout << "请录入余量:"; 55 | getline(cin,pnew->book_surplus); 56 | Insert->next = pnew; 57 | cout << "录入成功,更新一条信息!"<next != NULL) && (pdel->next->book_name != s))//&&判断顺序为先左 68 | { 69 | pdel = pdel->next; 70 | } 71 | if (pdel->next != NULL) 72 | { 73 | Nbook* pnew = pdel->next->next; 74 | delete pdel->next; 75 | pdel->next = pnew; 76 | cout << "删除完成\n" << endl; 77 | } 78 | else{ 79 | cout << "无此书\n" << endl; 80 | } 81 | } 82 | 83 | void Book::SeacheBook(){ 84 | getchar(); 85 | string s; 86 | cout << "请输入要搜索的图书名" << endl; 87 | getline(cin,s); 88 | cout << "\t----------------------------------------------------------------------------" << endl; 89 | cout << "\t编号" << "\t" << "书名" << "\t" << "作者" << "\t" << "出版社" << "\t" << "库存" << endl; 90 | cout << "\t----------------------------------------------------------------------------" << endl; 91 | Nbook* pserch = head; 92 | while (pserch->next != NULL && pserch->next->book_name != s)//&&判断顺序为先左 93 | { 94 | pserch = pserch->next; 95 | } 96 | if (pserch->next != NULL) 97 | { 98 | cout << "\t" << pserch->next->book_number<< "\t" << pserch->next->book_name << "\t" << pserch->next->book_author << "\t" << pserch->next->book_concern << "\t" << pserch->next->book_surplus << endl; 99 | } 100 | else 101 | { 102 | cout << "没有找到此书!"<项目“C:\Users\-_-\Desktop\coding\LibrarySystemC+\LibrarySystemC+\LibrarySystemC+.vcxproj”在节点 2 上(Build 个目标)。 3 | 1>ClCompile: 4 | C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _LIB /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt Admin.cpp Book.cpp main.cpp Menu.cpp User.cpp 5 | User.cpp 6 | Menu.cpp 7 | 1>c:\users\-_-\desktop\coding\librarysystemc+\librarysystemc+\menu.cpp(16): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 8 | c:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(283) : 参见“scanf”的声明 9 | main.cpp 10 | Book.cpp 11 | Admin.cpp 12 | 正在生成代码... 13 | Link: 14 | C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\-_-\Desktop\coding\LibrarySystemC+\Debug\LibrarySystemC+.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\-_-\Desktop\coding\LibrarySystemC+\Debug\LibrarySystemC+.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\-_-\Desktop\coding\LibrarySystemC+\Debug\LibrarySystemC+.lib" /MACHINE:X86 Debug\Admin.obj 15 | Debug\Book.obj 16 | Debug\main.obj 17 | Debug\Menu.obj 18 | Debug\User.obj 19 | LibrarySystemC+.vcxproj -> C:\Users\-_-\Desktop\coding\LibrarySystemC+\Debug\LibrarySystemC+.exe 20 | 1>已完成生成项目“C:\Users\-_-\Desktop\coding\LibrarySystemC+\LibrarySystemC+\LibrarySystemC+.vcxproj”(Build 个目标)的操作。 21 | 22 | 生成成功。 23 | 24 | 已用时间 00:00:03.76 25 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/LibrarySystemC+.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit 2 | Debug|Win32|C:\Users\-_-\Desktop\coding\LibrarySystemC+\| 3 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/cl.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/cl.command.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/LibrarySystemC+.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/Menu.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/Menu.obj -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/User.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/User.obj -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/main.obj -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/vc120.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/vc120.idb -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Debug/vc120.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Debug/vc120.pdb -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/LibrarySystemC+.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {29A65450-7340-4C72-9EFE-DE27D7B94EC3} 15 | Win32Proj 16 | LibrarySystemC 17 | 18 | 19 | 20 | Application 21 | true 22 | v120 23 | Unicode 24 | 25 | 26 | Application 27 | false 28 | v120 29 | true 30 | Unicode 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | true 44 | 45 | 46 | false 47 | 48 | 49 | 50 | 51 | 52 | Level3 53 | Disabled 54 | WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) 55 | 56 | 57 | Console 58 | true 59 | 60 | 61 | 62 | 63 | Level3 64 | 65 | 66 | MaxSpeed 67 | true 68 | true 69 | WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) 70 | 71 | 72 | Console 73 | true 74 | true 75 | true 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/LibrarySystemC+.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 头文件 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 头文件 29 | 30 | 31 | 32 | 33 | 源文件 34 | 35 | 36 | 源文件 37 | 38 | 39 | 源文件 40 | 41 | 42 | 源文件 43 | 44 | 45 | 源文件 46 | 47 | 48 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/LibrarySystemC+.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | WindowsLocalDebugger 5 | 6 | -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Menu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Menu.cpp -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/Menu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/Menu.h -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/User.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/User.cpp -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/User.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/User.h -------------------------------------------------------------------------------- /C++版本/LibrarySystemC+/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C++版本/LibrarySystemC+/main.cpp -------------------------------------------------------------------------------- /C++版本/README.md: -------------------------------------------------------------------------------- 1 | C++版本 请用VS打开构建 2 | -------------------------------------------------------------------------------- /C版本/README.md: -------------------------------------------------------------------------------- 1 | 2 | Dev-C++开发非常简单的图书管理系统,可以帮助学习单链表操作。 3 | 4 | ``` 5 | 乱码问题解决:main.cpp用Dev-C++打开试试。因为dev不支持改编码。 6 | 7 | ``` 8 | -------------------------------------------------------------------------------- /C版本/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C版本/src/main.cpp -------------------------------------------------------------------------------- /C版本/src/main.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C版本/src/main.exe -------------------------------------------------------------------------------- /C版本/src/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/C版本/src/main.o -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 大一学期作业C语言-数据结构开发非常简单的图书管理系统,可以帮助学习单链表操作。 2 | ``` 3 | 分为: 4 | C版本---DevC++打开 5 | C++版本-----VS打开 6 | blog:https://www.cnblogs.com/yhonker/p/10285643.html 7 | ``` 8 | 代码简单,界面可以直接改。 9 | 效果图: 10 | 11 | 12 | ![c1](https://github.com/yhonker/C-BookSystem/blob/master/capture/c1.png) 13 | -------------------------------------------------------------------------------- /capture/c1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atnegam/C-BookSystem/dac6f88d83a97387bd9b39a8ac6d5fcad26dbf22/capture/c1.png --------------------------------------------------------------------------------