wc.d

来自「Object-Oriented Programming With ANSI-C这」· D 代码 · 共 16 行

D
16
字号
// new(Wc())% WcClass: Class  Wc: Object {	unsigned lines;			// lines in current file	unsigned allLines;		// lines in previous files	unsigned chars;			// bytes in current file	unsigned allChars;		// bytes in previous files	unsigned files;			// files completed%-line:	int wc (_self, const Object @ filter,			\				const char * fnm, char * buf);wrap:	int printFile (_self, const Object @ filter,	\				const char * fnm);quit:	int printTotal (_self, const Object @ filter);%}

⌨️ 快捷键说明

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