⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 collections.txt

📁 MFC集合类使用说明,简单明了,通俗易懂
💻 TXT
字号:
The Short and Dirty on Template Collections

===============================================================================
A Word From Microsoft:

The nontemplate collection classes have been provided by MFC beginning with MFC
version 1.0. If your code already uses these classes, you can continue to use
them. If you write new type-safe collection classes for your own data types,
consider using the newer template-based classes.

===============================================================================

                                        Not referenced in this paper
Arrays
        CArray                          CByteArray
        CTypedPtrArray                  CDWordArray
                CObArray                CStringArray
                CPtrArray               CUintArray
                                        CWordArray

Lists
        CList                           CStringList
        CTypedPtrList
                CObList
                CPtrList

Maps
        CMap                            CMapWordToOb
        CTypedPtrMap                    CMapStringToOb
                CMapWordToPtr           CMapStringToString
                CMapPtrToWord
                CMapPtrToPtr
                CMapStringToPtr

===============================================================================
Collection contents           Arrays          Lists           Maps
----------------------------  --------------- --------------- --------------
Collections of OBJECTS
of any type                   CArray          CList           CMap

Collections of POINTERS       CTypedPtrArray  CTypedPtrList   CTypedPtrMap
to objects of any type
Must be one of the non-
template pointer collect-
ions predefined by MFC,
such as CPtrList or CPtrArray

===============================================================================
CArray
        A non-unique array of simple types, objects or pointers.
CList
        An ordered list of nonunique objects.
CMap
        An ordered list of unique objects.
CTypedPtrArray
        A type-safe 搘rapper

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -