Skip to content

Commit 11baee1

Browse files
committed
interface is not a C++ keyword.
Suggest to use `class` for the example.
1 parent 41cf6d3 commit 11baee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch02.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ And further, only use C99 syntax that is a pure subset of C++. Otherwise, no por
204204

205205
Remember this lesson:
206206

207-
> Don't use C++ keywords like {{interface}} as variables.
207+
> Don't use C++ keywords like {{class}} as variables.
208208

209209
++ Problem: how do I name my source files?
210210

0 commit comments

Comments
 (0)