I have a question about C++. I am working on what is a pretty straight forward project of inheritance. I have parent class of animal and two child classes of Dog and Cat. Where my issue comes in is that we were to the speak function, Like if the Dog is called it will bark...
I incorrectly assumed that by speak, I would simply be creating a print function with the word bark. But after looking into "speak functions", I think I am actually suppose to be creating a function which will generate barking sound.
I was looking on youtube for a simple tutorial to get me pointed in the right direction but, with no success. Can you get me pointed in the right direction on this?
The error was not implement the... View the full answer