[MFC강좌] CStringArray, CPtrList, CList 사용법 CStringArray[New, Delete] 12CStringArray* pA5 = new CStringArray;delete( pA5 );cs [SetSize, SetAt, GetUpperBound, GetAt] 12345678910CStringArray AL5;AL5.SetSize( 2 );CString S5("AAA");AL5.SetAt( 0, (LPCTSTR)S5 );AL5 [1] = "BBB"; int N5 = AL5.GetUpperBound( );CString D5;D5 = AL5.GetAt( 0 );D5 = AL5 [1];cs CPtrList[New, Delete] 123456CPtrList* pA3 = new CP..
[MFC강좌] 3가지 배열 예제 (CByteArray, CWordArray, CUnitArray) MFC에서 제공하는 배열들은 아래와 같습니다. Class Name - Data Type CByteArray : 8-bit bytes (BYTEs) CWordArray : 16-bit words (WORDs) CDWordArray : 32-bit double words (DWORDs) CUIntArray : Unsigned integers (UINTs) CStringArray : CStrings CPtrArray : void pointers CObArray : CObject pointers CWordArray WORD: unsigned short int [New, Delete] 12CWordArray* pA2..