editgets.h

来自「国外网站上的一些精典的C程序」· C头文件 代码 · 共 39 行

H
39
字号
/*** jgets() - line input w/editing*/#ifndef EDITGETS__H#define EDITGETS__H#include "minmax.h"extern int TabSize;/***  Password mode:****  0 - Normal operation**  1 - Conventional password mode - '*' is echoed for all characters,**      only ESC, ENTER, BACKSPC, and CTLHOME are active.**  2 - Secure password mode - same as above except random characters are**      displayed rather than '*'s to distract snoops from watching the keys.*/extern int password_mode;/***  Line editing formatted text entry function.*/int editgets(char *s, int maxlen, char *string);/***  Get a string of unknown length*/char *getstring(void);#endif /* EDITGETS__H */

⌨️ 快捷键说明

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