dbgprint_Mine 调试输出

void DbgPrintf_Mine(char*pszFormat,...)
{
#ifdef _DEBUG
    char szbufFormat[0x1000];
    char szBufFormat_Game[0x1008]="Game:";
    va_list argList;
    va_start(argList,pszFormat);//参数列表初始化
    //int i=va_arg(argList,int);
    //int j=va_arg(argList,int);
    //ar*s=va_arg(argList,char*);
    //int k=va_arg(argList,int);
    vsprintf_s(szbufFormat,pszFormat,argList);
    //printf("%d,%d,%s %d \r\n",i,j,s,k);
    //printf(szbufFormat);
    strcat_s(szBufFormat_Game,szbufFormat);
    OutputDebugStringA(szBufFormat_Game);
    va_end(argList);
#endif

}

 

posted @ 2015-01-04 12:53  疯陈演义  阅读(417)  评论(0编辑  收藏  举报