MFC CPtrList, CStringList 클래스 배열 사용 예제 CStringList [New, Delete] 123CStringList* pA1 = new CStringList;delete( pA1 );CStringList CR1( 5 );cs [GetHeadPosition] 12POSITION PS1;PS1 = CR1.GetHeadPosition( );cs [AddHead] 12CString S10("AAA");PS1 = CR1.AddHead( (LPCTSTR)S10 );cs [Insert, etc...] 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455S10 = ..
[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..