/in/foo.cc: In function 'int main()':
/in/foo.cc:19:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=0;j<d;j++) if(j==i||j==d/2||j==d-i-1) {printf("*");printf(" ");} else {printf(" ");printf(" ");}printf("\n");
^~~
/in/foo.cc:19:119: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int j=0;j<d;j++) if(j==i||j==d/2||j==d-i-1) {printf("*");printf(" ");} else {printf(" ");printf(" ");}printf("\n");
^~~~~~
/in/foo.cc:24:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int l=0;l<d;l++) if(l==d/2-s||l==d/2+s||l==d/2) {printf("*");printf(" ");} else {printf(" ");printf(" ");}printf("\n");
^~~
/in/foo.cc:24:123: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int l=0;l<d;l++) if(l==d/2-s||l==d/2+s||l==d/2) {printf("*");printf(" ");} else {printf(" ");printf(" ");}printf("\n");
^~~~~~