#help making abstract base class

4 messages · Page 1 of 1 (latest)

mellow compass
#

I have a book storage program and I'm having trouble trying to get the command "list" to list all the textbook records and "find" to to lookup a textbook record by the ISBN number.
right now both dont print anything. the diagram shows the relationship between the classes.

As far as the debug statements in Warehouse.cpp, they all work except for in "std::cout << "Listing Book: " << current->data->getTitle() << std::endl;" in void Warehouse::list()

wicked vesselBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

mellow compass
#

oh this is c++ btw not c

halcyon mason
#

Then move to the correct channel.