可以用GetStdHandle获取控制台窗口的句柄,然后用SetConsoleCursorPosition来定位当前输出位置.另外还有其他类似功能可以参考Win32API的Console Functions.
太专业了