Main.cc: In function 'int main()':
Main.cc:9:22: warning: for increment expression has no effect [-Wunused-value]
for(int i=0;i<10;10;i++){
^
Main.cc:9:24: error: expected ')' before ';' token
for(int i=0;i<10;10;i++){
^
Main.cc:9:25: error: 'i' was not declared in this scope
for(int i=0;i<10;10;i++){
^
Main.cc:5:9: warning: unused variable 'd' [-Wunused-variable]
int d=0,w;
^