Hello everybody.
I work in c++ for a long time, but this never happen to me before.
I have a long variable, let's say
long x;
then i try to assign it with
x=36*1000 (this is only an example. in fact, i use other variables)
Guess what? after this line, x=-29536 !!! Why???
Same if i use double type.
I really don't understand.