#include<iostream>
using namespace std;
class Father
{
public:
	virtual void function()=0;
	virtual void function1()=0;
};
class Son:public Father
{
public:
	void function()
	{
		cout<<"son::function"<<endl;
	}
	void function1()
	{
		cout<<"son::function1"<<endl;
	}
};
int main()
{
	Father* point=new Son;
	point->function();
	point->function1();
	return 0;
}


