几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problem with using and questions about i (http://www.dimcax.com/hust/showthread.php?t=18179)

yang686526 2009-05-06 11:38 PM

【转帖】problem with using and questions about i
 
problem with "using" and questions about it
problem with "using" and questions about it
the sample documentation says to add this into your class that is derived from the systemservices:
protected:
using exsystemservices:perator new;
using exsystemservices:perator delete;
however, the sample mfc applications provided do it like this:
protected:
using cwinapp:perator new;
using cwinapp:perator delete;
please explain to me why the change in the code? i have used cwinapp because the sample does. but should i be using exsystemservices?
also, when i include these lines into my application class header file, my application class is no longer visible in the classview. is it possible to prevent that from happening?
thank you.
andrew


所有的时间均为北京时间。 现在的时间是 03:57 PM.