I am new to c++. When I try to compile the code below , I get this error
constructor for \'child\' must explicitly initialize the base class \'parent\' whic
Hi Just try add default constructor in your parent class (No argument constructor) then compile it. Hope this might resolve your problem.