MSDN:为什么有些类的帮助文档中构造函数名可以和类名不同?例如CAsyncSocket类的构造函数:ConstructionCAsyncSocket            Constructs a CAsyncSocket object. 
Create                  Creates a socket. 构造函数Create就和CAsyncSocket不同名。

解决方案 »

  1.   

    ConstructionCFile      Constructs a CFile object from a path or file handle. 
    Abort      Closes a file ignoring all warnings and errors. 
    Duplicate  Constructs a duplicate object based on this file. 
    Open       Safely opens a file with an error-testing option. 
    Close      Closes a file and deletes the object. 
    你不会认为这些都是CFile类的构造函数吧。
      

  2.   

    我就是怀疑啊,就是想不通为什么MSDN要将这些函数归类为Construction里面
      

  3.   

    Construction和Constructor是两回事。
      

  4.   

    哦是我理解有误,现在明白了。谢谢你,sjdev!