net8.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 33 行
C
33 行
// Build don't link:// Special g++ Options: -pedantic-errorsclass Base {public: int foo;};class Derived : public Base {public: int bar;};void func(Base&); // ERROR - void func2(const Derived& d) { func(d); // ERROR - this is bad}voidfoo (int& a){ // ERROR - }int main (){ int b; const int*const a = &b; *a = 10; // ERROR - it's const foo (*a); // ERROR - it's const return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?