h-r.rep
来自「Object-Oriented Programming With ANSI-C这」· REP 代码 · 共 25 行
REP
25 行
// differences from h.rep:// there is no superclass header to be included// `root and `metaroot are produced separately; both can have methods//// it does not hurt to produce `{%- for `metaroot -- empty//% -h // implement -h option for root class# ifndef `class _h `n# define `class _h `n `n`{pub `{if `class ` `line `n `} `{else `n extern const void * `%const `class (void); `n `n `{% `%header ; `n `}n `{%- `%header ; `n `}n `}fi`}n# endif `n
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?