void log(char* pszFormat, ...) { static char logbuf[512]; va_list args; #if _DEBUG va_start(args, pszFormat); vsprintf_s(logbuf, pszFormat, args); OutputDebugStringA(logbuf); va_end(args); #endif }
沒有留言:
張貼留言