c언어 파일인데 이런게 있드라
devcpp에서는 컴파일 안되고...c언어 비주얼 스튜디오2008에서는 되드라
void free_vector(v,n)
double *v;
int n;
/* Free a float vector allocated by vector(). */
{
free((char*) (v+1));
}
'컴퓨터 과학 & 영상처리 관련 > C / C++' 카테고리의 다른 글
printf 가변인자 int myPrintf(const char *format, ...) (1) | 2012.12.07 |
---|---|
#define에서 #x 와 같이 문자열 사용하는 법 (printf도 포함) (0) | 2012.11.16 |
STL map 자료구조 (0) | 2012.10.11 |
c++ STL sort 함수 (0) | 2012.10.11 |
int와 float의 연산(정수와 소수) (0) | 2012.09.04 |