首页 > 数据库技术 > 详细

dbgprint_Mine 调试输出

时间:2015-01-04 13:24:52      阅读:432      评论:0      收藏:0      [点我收藏+]
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

}

 

dbgprint_Mine 调试输出

原文:http://www.cnblogs.com/wumac/p/4200849.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!