Main.cc: In function ‘int main()’: Main.cc:6:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(int x=100;x<=999;x++) ^~~ Main.cc:8:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ if(x=a*a*a+b*b*b+c*c*c) ^~ Main.cc:7:13: warning: unused variable ‘a’ [-Wunused-variable] int a=x%10,b=x/10%10,c=x/100; ^ Main.cc:7:20: warning: unused variable ‘b’ [-Wunused-variable] int a=x%10,b=x/10%10,c=x/100; ^ Main.cc:7:30: warning: unused variable ‘c’ [-Wunused-variable] int a=x%10,b=x/10%10,c=x/100; ^ Main.cc:8:9: error: ‘x’ was not declared in this scope if(x=a*a*a+b*b*b+c*c*c) ^ Main.cc:8:11: error: ‘a’ was not declared in this scope if(x=a*a*a+b*b*b+c*c*c) ^ Main.cc:8:17: error: ‘b’ was not declared in this scope if(x=a*a*a+b*b*b+c*c*c) ^ Main.cc:8:23: error: ‘c’ was not declared in this scope if(x=a*a*a+b*b*b+c*c*c) ^