#include _________________
using namespace std;
class base
{
public :
virtual void print( )
{
cout << "In base" << endl;
}
};
class derived: public base
{
public :
void print( ) { cout << "In derived" << endl; }
};
void show(base * pb,void (base:: * pf) ( ) )
{
_________________
}
void main( )
{
base b;
derived d ;
show ( &b, base::print);
show ( &d, base::print);
}
第1空:<IOSTREAM>
第2空:(PB->*PF)( );