int main(){ figure *pf=NULL; circle c(3); rectangle r(1.2,1.5); triangle t(6,7,8); pf=&c; pf->dispname(); //拼写错误 cout<area()< pf=&r; pf->dispname(); //拼写错误 cout<area()< pf=&t; pf->dispname(); //拼写错误 cout<area()< return 0;}