int * Age = new int;
short * WakeUp = new short[6];
delete Age;
delete [] WakeUp
'컴퓨터 과학 & 영상처리 관련 > C / C++' 카테고리의 다른 글
strstr 문자열을 검색하는 함수 (0) | 2012.01.01 |
---|---|
strchr() 문자열 안에 특정 문자 존재하는지 여부 (0) | 2012.01.01 |
#ifdef, #endef (0) | 2011.12.25 |
함수포인터 (0) | 2011.12.23 |
cpp 헤더 동작 원리 (0) | 2011.12.20 |