The behavior is different between Java and C++, but only with the statement
"a = a++". If you remove the "a =" part, then the behavior is indentical.
Granted you wouldn't normally do "a = a++" but Mathi has a good point.
I'm not really sure why, but it may have something to do with the way the
post increment operator works. Anyone?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center