i want to make a simple college library program in which one can add the information of the book like book name publish day last day and name of the peson who received the book. it should also have a function to search a certain book and delete that book too.
A good start would be to declare a struct Book with the required fields and store them in a std::vector. Then you can use std::find_if and std::erase_if to find and delete a book.