2. The program can be roughly divided into: input module, sorting module, output module, etc.
3. Input module: design a data structure to store book titles;
It can be an array of pointers or a linked list. . .
4. Sorting module: Select a sorting algorithm, such as bubbling and quick sorting. , and check online.
5. The output module prints the final sorting result;
If all of the above can be realized, you can extend it, index query module and so on. . .
Freshman has just started school, so I have to write more code myself. . . Don't forget to smile no matter how annoying you are, and pay attention to your tone no matter how urgent you are!