scope5.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 26 行

C
26
字号
// Build don't link: // GROUPS passed scoping// local-class file// From: schlaege@methusalix.ert.rwth-aachen.de (Chris Schlaeger H Zivojnovic)// Date:     Tue, 10 Aug 93 16:50:33 +0200// Subject:  Bug report// Message-ID: <9308101450.AA28016@methusalix.ert.rwth-aachen.de>int main(){        class foo        {                int i;        } ;        class bar        {                public:                        bar() { y = 0; }                        void f() { foo x; }                private:                        int y;        } ;        bar     c;}

⌨️ 快捷键说明

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