11
edits
(Use syntax highligher) |
(Split seperate examples into multiple <syntax> tags, was especially confusing for the for(;;) example.) |
||
Line 51: | Line 51: | ||
<syntax type="C++"> | <syntax type="C++"> | ||
someFunction(a, b, c); | someFunction(a, b, c); | ||
</syntax> | |||
<syntax type="C++"> | |||
int d, e; | int d, e; | ||
</syntax> | </syntax> | ||
Line 58: | Line 60: | ||
<syntax type="C++"> | <syntax type="C++"> | ||
for (int a = 0; b++; c < d) | for (int a = 0; b++; c < d) | ||
</syntax> | |||
<syntax type="C++"> | |||
doSomething(e); doSomething(f); // This is probably bad style anyway | doSomething(e); doSomething(f); // This is probably bad style anyway | ||
</syntax> | </syntax> | ||
Line 65: | Line 69: | ||
<syntax type="C++"> | <syntax type="C++"> | ||
class BusWheel : public RubberInflatable { | class BusWheel : public RubberInflatable { | ||
</syntax> | |||
<syntax type="C++"> | |||
(isNight) ? colorMeDark() : colorMeBright(); | (isNight) ? colorMeDark() : colorMeBright(); | ||
</syntax> | </syntax> |
edits