/in/foo.cc: In function 'void add(int, int, int)':
/in/foo.cc:15:10: error: expected primary-expression before ';' token
cout<<;
^
/in/foo.cc:16:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
/in/foo.cc:21:11: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 1;
^
/in/foo.cc:22:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:21: error: 'finish' was not declared in this scope
if (finish(1,0,11))
^
/in/foo.cc:47:21: error: 'finish' was not declared in this scope
if (finish(0,1,11))
^
/in/foo.cc:61:21: error: 'finish' was not declared in this scope
if (finish(1,0,21))
^
/in/foo.cc:69:21: error: 'finish' was not declared in this scope
if (finish(0,1,21))
^