[VC++] CMap 사용법

CMap <CString, LPCTSTR, CString, LPCTSTR> *map;

map->SetAt(_T("230.10"), _T("300"));
map->SetAt(_T("230.15"), _T("305"));
(*map)[_T("230.20")] = _T("310");

CString s =  (*map)[_T("230.20")];
        delete map;

Trackbacks 0 / Comments 0

티스토리 툴바