Can someone help with difficult task? C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone help with difficult task? C++

In the task need to create "Library management program" by using struct, without vectors and classes. Book must have: "Release date, name, author, genre, cost, rating and ID". Reader: "Name, surname, birth day, ID, books taken". Need functions to add books, remove, modify book(one parameter or all parameters of the book", sorting by author, name, genre, rating. Giving to reader, taking from reader, view list of readers with book on hands. Fee for late book returning(20 sec delay). For "Reader": "Adding, removing and modify readers data(one parameter or all of parameters), sort by name/surname or ID". List of readers with books on hands with fee(need to write amount of time from return time passed and fee amount)

5th Dec 2020, 10:49 PM
Vyacheslav Baranovskyi
Vyacheslav Baranovskyi - avatar
2 Answers
+ 3
This is quite a lot of code you need to write, I doubt anyone wants to just do your homework for you here. However I am a bit puzzled by the question. You said "using structs but no classes", but a struct is the same thing as a class in C++, with the exception that all fields are public. Also, why not use vectors? You're just hindering yourself writing code that is perfect for a vector, and not using it. I wish you good luck.
5th Dec 2020, 11:41 PM
inxanedev!
inxanedev! - avatar
+ 1
If you're willing to pay then there are a lot of talented freelancers over at https://www.fiverr.com/
6th Dec 2020, 12:47 AM
Chris Coder
Chris Coder - avatar