/in/foo.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
int BinTree::Count(Node *p)
^
/in/foo.c:9:1: error: unknown type name 'Node'
Node * BinTree::Search(char c)
^~~~
/in/foo.c:9:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
Node * BinTree::Search(char c)
^
/in/foo.c:13:1: error: unknown type name 'Node'
Node * BinTree::Search(Node *p, char c)
^~~~
/in/foo.c:13:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
Node * BinTree::Search(Node *p, char c)
^
/in/foo.c: In function 'main':
/in/foo.c:25:2: error: 'cin' undeclared (first use in this function)
cin.getline(c, 1000);
^~~
/in/foo.c:25:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:26:2: error: unknown type name 'BinTree'
BinTree T(c);
^~~~~~~
/in/foo.c:26:2: warning: parameter names (without types) in function declaration
/in/foo.c:27:3: error: request for member 'Order' in something not a structure or union
T.Order();
^