copy2.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 36 行
C
36 行
// Build don't link: // GROUPS passed copy-ctors// copy file// From: Vivek Khera <khera@cs.duke.edu>// Date: Mon, 15 Nov 1993 16:02:18 -0500// Subject: g++ 2.5.3 fails to automatically generate default initializer// Message-ID: <9311152102.AA21248@thneed.cs.duke.edu>class String{ private: char a[100]; int len; public: String();};String::String(){ len = 0;}struct List{ String item[100]; int num_items;// List(); // uncomment this line to let compile work};intmain(int argc, char **argv){ List a;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?