[vtkusers] About New Method
    ran yang 
    zoeyoka at yahoo.com
       
    Thu May 15 17:13:19 EDT 2003
    
    
  
hi,
There is always something wrong with the New method I wrote.
Please help me.
class CMyInteractor:public vtkInteractorStyleJoystickActor
{
public:
 static CMyInteractor *New();
.............
}
 
CMyInteractor * CMyInteractor::New()
{
 return new CMyInteractor;
}
the error is:error C2660: 'new' : function does not take 3 parameters.
 
Help! thanks!
                                                                       zoe 
---------------------------------
Do You Yahoo!?
"相见不如聊天!不出门一样面对面!网络摄像头对对派送中~赶快用你的雅虎电邮帐号参与吧……
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030516/489e253d/attachment.htm>
    
    
More information about the vtkusers
mailing list