So I want to make a library inventory program and I have a pretty good idea on how
I want the code should look like. The only problem I see myself having is arranging books that start with the letters A-M and letters N-Z(Pretend that there are only 2 shelves and the first letters have to capitalized).
Example:
1 2 3 4
titles from A-Z Titles from N-Z
E.... A...... N..... G......
H.... T...... Z..... R......
A.... F...... U..... T......
*Note-The dots are for simplicity(I didn't want to type out the names).
I was thinking of using the .at member functions from the string header file; maybe even first_end_of or find but I don't think that's optimal. What do you guys think?