/in/foo.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
memset( ans , false , sizeof(ans) ) ;
^
/in/foo.cc:6:1: error: expected unqualified-id before 'for'
for (i=0;i<m;++i)
^~~
/in/foo.cc:6:10: error: 'i' does not name a type
for (i=0;i<m;++i)
^
/in/foo.cc:6:14: error: expected unqualified-id before '++' token
for (i=0;i<m;++i)
^~
/in/foo.cc:7:10: error: 'j' does not name a type
for (j=0;j<m;++j) {
^
/in/foo.cc:7:14: error: expected unqualified-id before '++' token
for (j=0;j<m;++j) {
^~
/in/foo.cc:12:1: error: expected unqualified-id before 'for'
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^~~
/in/foo.cc:12:26: error: 'i' does not name a type
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^
/in/foo.cc:12:30: error: expected unqualified-id before '++' token
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^~