What is this header error caused by? [closed]

In the Sales_item class you forgot to make the isbn method public, and left it at its default private visibility.

It should, in short, read something like this:

class Sales_item
    return_value isbn();

Without the public: line it will be private by default in C++ classes.

Browse More Popular Posts

Leave a Comment