Skip to main content
summaryrefslogtreecommitdiffstats
blob: f9c3d75956e10414bad3be634002a46dd9830317 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef INCLUDE_H
#define INCLUDE_H

class Head {
	Head ** array;

	Head * operator *= ( int index );
	Head * operator *  ( int index ){ return array[ index ]; }
	Head * operator += ( int index );
	
	operator const short & ();
	operator short         ();
	operator short int     ();	

};

class DeclsAndDefns{
	static int staticField;
	int nonStaticField;
	
	void forwardMethod();
	void inlineMethod() {}
};

void forwardFunction();


class Direction{
   void turn();
   void turn(int);
   void turnAgain(void);
};
class Right : public Direction  {
   void turn() { }
};
#endif

Back to the top