How to use C++ to realize Book Information Management system
Editor to share with you how to use C++ to achieve the book information management system, I hope you will learn something after reading this article, let's discuss it together!
The details are as follows
1. Title:
Types are: serial number: ISBN
Title: name
Price: price
Complete the following functions:
① input: input (or read from a file) the various data elements of the book (or student) information table from the keyboard
② lookup: you can find all data elements equal to a given value by different attributes, find and return their order in the table
③ insert: I (1 = > pnew- > price; pnew- > next = NULL; ptemp- > next = pnew; ptemp = pnew;}} / / find int Link::find_node by number (int I) {Node * ptemp = head- > next; for (int count = 0 * countISBN = = I) / / find book {cout by number