回答編集履歴
1
微修正
test
CHANGED
@@ -3,6 +3,14 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
```C++
|
6
|
+
|
7
|
+
class base {
|
8
|
+
|
9
|
+
virtual void f() =0; // pure virtual func.
|
10
|
+
|
11
|
+
};
|
12
|
+
|
13
|
+
|
6
14
|
|
7
15
|
class derived : public base {
|
8
16
|
|