¡@

Home 

c++ Programming Glossary: mammal

How am i overriding this C++ inherited member function without the virtual keyword being used?

http://stackoverflow.com/questions/2993513/how-am-i-overriding-this-c-inherited-member-function-without-the-virtual-keywo

I am defining a Dog class which is derived from Mammal. Both classes share a simple member function called ToString.. ToString . How is Dog overriding the implementation in the Mammal class when i'm not using the virtual keyword Do i even need.. #define MAMMAL_H_INCLUDED #include string class Mammal public std string ToString #endif MAMMAL_H_INCLUDED mammal.cpp..