VS IDE调试下将打印日志输出到输出窗口 int aBeginTime = GetTickCount(); TRACE("Current time begin:%d ", aBeginTime); 查看输出窗口: