I believed that there was a compare function but my compiler does not agree with me...
The following code is throwing errors saying my class has no member named 'compare'. It doesn't but I thought there was a compare function within a library which I've been using.
Well that was embarrassing, just forgot the .get_title() and .get_author() after the type book.... Thank you TarikNeaj I don't know how I didn't see that.