/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc: In function 'int dotime()':
/in/foo.cc:22:22: error: 'scanf' was not declared in this scope
scanf("%d",&y);
^
/in/foo.cc: In function 'void doclass(int)':
/in/foo.cc:70:25: error: expected ';' before ')' token
for(int i=0;i<=0)
^
/in/foo.cc:68:13: warning: unused variable 'ans' [-Wunused-variable]
int ans=0;
^~~
/in/foo.cc:69:16: warning: unused variable 'add' [-Wunused-variable]
object add;
^~~
/in/foo.cc: At global scope:
/in/foo.cc:73:9: error: expected unqualified-id before 'if'
if(mark==0)
^~
/in/foo.cc:75:9: error: expected unqualified-id before 'else'
else printf("%d\n%d,%d\n",ans,add.x+1,add.y+1);
^~~~
/in/foo.cc:76:1: error: expected declaration before '}' token
}
^
/in/foo.cc: In function 'int change(object&)':
/in/foo.cc:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^