i'm trying to make specifics statements on the same class function's. there's an example of what i'm triying to make
#include <stdio.h>
class animal
{
   public:
      void Talk();
};
int main()
{
   animal dog;
   animal cat;
   dog::Talk()
   {
      printf("Wof");
   };
   cat::Talk()
   {
      printf("Meow");
   };
   dog.Talk();
   cat.Talk();
   return 0;
}
I also try it with class inheritance, something like
#include <stdio.h>
class cat
{
   public:
      void Talk()
      {
         printf("Meow");
      };
};
class dog
{
   public:
      void Talk()
      {
         printf("Wof");
      }
};
class animal{};
int main()
{
   animal Schnauzer: public dog;
   animal Siamese: public cat;
   Schnauzer.Talk();
   Siamese.Talk();
   return 0;
}
There's a way to do something like this?
 
    