Could you help me ?I am trying to learn some classes about database access in VC++.

wendywendy (wind)
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;
db.open(...);
CDaoRecordset rs;
rs.open(...);
(why not CDaoRecordset* prs;prs=new CDaoRecordset())
(#27209@0)
2001-2-19 -05:00

回到话题: Could you help me ?I am trying to learn some classes about database access in VC++.

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=27209