But I am confused by some examples:when I define a variable of a class like CDaoDatabase or CDaoRecordset ,could I use it to call it's member function without creating an instance of the class?
such as: CDaoDatabse db;
(why not CDaoRecordset* prs;prs=new CDaoRecordset())
This post has been archived. It cannot be replied.