#include <iostream>// iostream is needed for cout
#include <string>// string is needed for string variables
#include "Product.h"//includes the file Product.h that contains the class used
#include "Dvd.h"
#include "Book.h"
usingnamespace std;
void main()
{
Dvd my_dvd(1234, "Walking Dead", 33.99, 4, "AMC", "Andrew Lincoln", "Sarah Wayne Callies");
my_dvd.print_info();
Book my_book(4321, "Slaughterhouse Five", 9.99, 6, "Dial Press", "Kurt Vonnegut", 123456);
my_book.print_info();
}
Im fairly sure your error was not "sorry". please edit the main and show us how you did it with the parent class, and copy paste the errors :)
Edit: Jeezus Im dumb af. The site said sorry well alright then :D. But yeh, show us the errors and edit it so the call for the parent class thingy is included.