/in/foo.cc:1:1: error: 'include' does not name a type
include<iostream>
^~~~~~~
/in/foo.cc: In member function 'bool LinkStack::isEmpty()':
/in/foo.cc:22:15: error: 'NULL' was not declared in this scope
return top==NULL;
^~~~
/in/foo.cc: In constructor 'LinkStack::LinkStack()':
/in/foo.cc:42:7: error: 'NULL' was not declared in this scope
top=NULL;
^~~~
/in/foo.cc: In function 'void Match(char*)':
/in/foo.cc:63:4: error: 'cout' was not declared in this scope
cout<<"right "<<j<<" ";
^~~~
/in/foo.cc:65:3: error: 'cout' was not declared in this scope
cout<<"ok"<<endl;
^~~~
/in/foo.cc:65:15: error: 'endl' was not declared in this scope
cout<<"ok"<<endl;
^~~~
/in/foo.cc:68:3: error: 'cout' was not declared in this scope
cout<<"left ";
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:2: error: 'cin' was not declared in this scope
cin>>s;
^~~