Main.cc: In function ‘int main()’: Main.cc:7:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(j=0;k=0;n!=0;j++;k++){ ~^~ Main.cc:7:16: warning: for increment expression has no effect [-Wunused-value] for(j=0;k=0;n!=0;j++;k++){ ~^~~ Main.cc:7:19: error: expected ‘)’ before ‘;’ token for(j=0;k=0;n!=0;j++;k++){ ^ Main.cc:7:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(j=0;k=0;n!=0;j++;k++){ ^~~ Main.cc:7:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ for(j=0;k=0;n!=0;j++;k++){ ^ Main.cc:7:27: error: expected ‘;’ before ‘)’ token for(j=0;k=0;n!=0;j++;k++){ ^ Main.cc:14:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(j=0;cn=0;j