C++ assistance

trying to understand polymorphism. Not looking for answers but some assistance in having the same character output to a window using visual studio 2012. So I would create a program of which if I entered in cat, it will display something like that is an animal. If I enter in dog, it would display that is an animal. So it would run slightly different code but output the same result. Any assistance is appreciated.
Topic archived. No new replies allowed.