console_screen2.h

来自「打字遊戲!Typing of the dead (console screen)」· C头文件 代码 · 共 18 行

H
18 行
字号
#ifndef CONSOLE_SCREEN2_H
#define CONSOLE_SCREEN2_H

//
// console_screen2.h
// Helper Functions for console screen manipulation
//

#include <windows.h>

void cls();
void wait(long ms=20);
char getKey();
void setPos(int row, int col);
void getScreenSize(int &width, int &height);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?