#include <iostream>
using namespace std;
class Person
{
public:
void show(const char *name)
{
cout << "My name is " << name << '.' << endl;
}
};
class Student : public Person
{
public:
using Person::show;
void show(void)
{
cout << "I'm a student." << endl;
}
};
int main(void)
{
Person p;
p.show("Tom");
Student s;
s.show();
s.show("haha");
return 0;
}