如何在这里调用纯虚函数“pvf()”?有人可以对此有所了解吗?..................................................... ......
#include<iostream>
using namespace std;
class a
{
public:
a()
{
this->pvf();
this->p();
}
virtual int pvf() = 0;
virtual void p()
{
cout << "\n p fun";
}
};
int a::pvf()
{
cout<<"\n pure";
}
class b : public a
{
int i,j,k;
void o()
{
cout<<"\n der";
}
};
int main()
{
//b b1;
}