Problem with function
its been so much time since a left programming, so now i realize that there are some little changes while coding like



    if(x>y) x=10;

now when i try to compile this line of code, the compiler said that something went wrong, now i need to write this

    if(x>y){x=10;}

and this runs perfectly, does anyone know about this change?
Currently using gcc for Mingw
Problem with function
===

its been so much time since a left programming, so now i realize that there are some little changes while coding like



    if(x>y) x=10;

now when i try to compile this line of code, the compiler said that something went wrong, now i need to write this

    if(x>y){x=10;}

and this runs perfectly, does anyone know about this change?
Currently using gcc for Mingw