摘要: 主要用到的关键api有两个: 1. GetConsoleScreenBufferInfo 用来获取当前光标位置 2. SetConsoleCursorPosition 用来设置控制台光标位置 示例代码: #define _AFXDLL #include <afx.h> #include <iostr 阅读全文
posted @ 2022-07-08 18:22 黑马网仔 阅读(43) 评论(0) 推荐(0) 编辑