prog.cpp:3:12: error: ‘key’ has not been declared
void read(key); // pushes a new direction
^
prog.cpp:4:11: error: ‘key’ has not been declared
void map(key, sob::cell); // maps a key to a direction
^
prog.cpp:4:16: error: ‘sob’ has not been declared
void map(key, sob::cell); // maps a key to a direction
^
prog.cpp:5:2: error: ‘sob’ does not name a type
sob::cell operator()(const sob::cell& pos) {
^
prog.cpp:13:2: error: ‘deque’ in namespace ‘std’ does not name a type
std::deque<sob::cell> direction_queue;
^