MFC Collection Class
MFC Collection Class
Non-Template Version
Template Version
사용자 정의 클래스를 템플릿 컬렉션에 저장하기 위해서는
To store user-created class in the template collection
생성자 함수를 구현
implement constructor function
== 오버로딩
overload == operator
해야 한다.
CStringArray = CArray
CMapStringToString = CMap
템플릿 버전의 첫 번째는 데이타형을 두 번째는 전달되는 인자의 형을 의미한다.
The first type in the template denotes data type while sencond denotes type of parameter-passed
CArray
strings.Add("First");
strings.Add("Second");
댓글 1개:
I'm now not positive the place you're getting your info, but
great topic. I must spend a while finding out more or working out more.
Thank you for magnificent information I used to be on the lookout for this
info for my mission.
Visit my website: home cellulite treatment
댓글 쓰기