visibility1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 17 行
C
17 行
// Build don't link: // GROUPS passed visibilityclass foo {protected: int i; // ERROR - protected};class bar : public foo {public: friend void baz (foo *);};void baz (foo *f){ f->i = 1; // error: i is protected// ERROR - .*}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?