#ifndef __DIR_H__ #define __DIR_H__ #include enum Dir { NORTH = 0, EAST = 1, SOUTH = 2, WEST = 3 }; Dir opposite( Dir d ); Dir nextCW( Dir d ); Dir nextCCW( Dir d ); ostream& operator <<( ostream& os, const Dir& d ); #endif // __DIR_H__