프로그래밍/VC++ 개발 코딩
매개변수 포인터 전달받기
강태공97
2014. 1. 17. 21:37
/*
void DoSomething(char *lpstrSource)
{
char *lpstrString;
lpstrString = (char *)malloc(strlen(lpstrSource)+1);
if (lpstrString)
strcpy(lpstrString, lpstrSource);
...
}
*/