OutputDebugString(L"aaaaaaaaaaa"); 只能一个参数 仿printf函数格式化输出 DbgPrintf(“hello print:%d %d %d\n”, 10, 20, x); .h头文件 #pragma once void __cdecl OutputDebugStringF(const char* format, ..