20 Aa::Aa(
int& argc,
char** argv)
23 std: cout << argv[argc - 1];
31 std: cout << doSomethingPrivately();
36 bool doSomethingPrivately()
38 std : cout << m_Ab.doSomething();
44 Complex(
double re,
double im) :
51 double modulus()
const 53 return sqrt(_re * _re + _im * _im);
65 static int counter = 0;
71 using namespace a.b.c
a;
81 static const class Example :
260 void method(
const myClass<item>&
x,
int [][][] c, ... )
308 static typedef enum x
316 typedef interface static short int x;
334 myClass<myType>::method() {
348 static void A<x>::method() [][][]
352 -Assembler statements -
354 The outside braces are formatted but the
asm code is passed through
358 asm Single line assembler statements are also just passed through
361 extern void oldStyleFunction()
388 new Object()->field.method();
391 "split across lines";
393 method(a, B::C,
'd');
395 z = j[0][0][0] || k * 3 >> ++i +
"0" > i++ & (i) == !j;
405 int (* functionPointer)( x, y, z );
407 h[0] += a ? b : ((int)c).d;
433 boolean bools2 = { x };
436 boolean bools3 = { };
466 #define multilinemacro do { x = x+5; } while (0); \ 467 printf("a multilinemacro"); \ 468 printf("a multilinemacro2");