您的位置:首页 > 博客中心 > 数据库 >

dbgprint_Mine 调试输出

时间:2022-03-14 04:32

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

}

 

热门排行

今日推荐

热门手游