Template inheritanceThanks for the help. A shape base class with virtual functions, with rectangle, square, triangle etc...
Template inheritanceYou are spot on, got a coursemate to have a look and said the same thing, in my compute_area and com...
Template inheritanceThanks for the replies guys. I can create the prism fine, the problem I am having is retrieving t...
Template inheritanceSorry, I'm a bit of a rookie to all this, its an intro course. How would I go about doing that? S...
Template inheritanceSo any idea why I can't access the data of the shape it is taking as its argument? Is the way I c...