Current location - Training Enrollment Network - Books and materials - Library lending system console
Library lending system console
This seems a bit difficult. When you say C++, it belongs to the console. The stored values of variables (including structures) you define are temporary. Once the system is shut down, the data will disappear. To restart the system, the data must be re-entered. The solution is very simple, that is, you can store all the data in a txt file and read it out when necessary, which should be able to achieve the functions you want. If it is complicated, it will involve the database.