Main.cc: In function 'int main()': Main.cc:8:21: error: expected unqualified-id before '=' token int n,a[1000],x,=0,min=1000; ^ Main.cc:16:20: error: invalid operands of types '' and 'int' to binary 'operator>' if(min>x){ ^ Main.cc:17:20: error: overloaded function with no contextual type information min=x; ^