void CEx6View::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint) 
{
// TODO: Add your specialized code here and/or call the base class
CEx6Doc* m2=(CEx6Doc*)GetDocument(); 
m_t1=m2->m_cp.x  ;
m_t2=m2->m_cp.y ; 
UpdateData();  

}
错误提示:
cdraw.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall cdraw::OnUpdate(class CView *,long,class CObject *)" (?OnUpdate@cdraw@@MAEXPAVCView@@JPAVCObject@@@Z)
Debug/ex6.exe : fatal error LNK1120: 1 unresolved externals
--------------
是说不能重载这个函数吧
可是教材上重载了