+ 1

Need Help in C++ Project

i want to make Books Library in which there are already two books present. Here i can add new books i can delete books i can issue book to someone how can i do that what type of object book is that i can remove or add some new book if i want to delete the book than book is remove from function(method)

5th Feb 2019, 2:01 PM
Saad Saleem
Saad Saleem - avatar
3 Answers
+ 4
The system can be implemented in a variety of different ways. Some simpler (and probably inefficient) some more sophisticated. Depending upon the project goal, level of problem solving, and the language knowledge you have, first, you need to be able to come up with a rough prototype of your solution. As Julien mentioned earlier the core data structure can be a struct or a class with required attributes (variables) to hold each book object's properties and possibly a set of behaviors as member function (or helper) to modify those attributes. But without knowing your initial design (and your best shot) it'd be a waste of time to simply suggest a general approach for the cause.
5th Feb 2019, 3:41 PM
Babak
Babak - avatar
+ 2
Julien Quentin What is struct? How to remove books? I need solution without using object oriented programming
5th Feb 2019, 3:08 PM
Saad Saleem
Saad Saleem - avatar
5th Feb 2019, 3:09 PM
Saad Saleem
Saad Saleem - avatar