Class names that start with C

前端 未结 12 1927
被撕碎了的回忆
被撕碎了的回忆 2020-12-20 13:44

The MFC has all class names that start with C. For example, CFile and CGdiObject. Has anyone seen it used elsewhere? Is there an official naming convention guide from Mic

12条回答
  •  Happy的楠姐
    2020-12-20 14:13

    Years ago naming convention is crucial to help identifying the class, type of even the grouping of the class. Dont forget back then there was no namespace and no/limited intellisense available. C is a form of Hungarian notation but certainly made popular by MFC. Borland and Delphi was using T - as prefix for Type

提交回复
热议问题