Compile error New comment Wei Sun 2010.01.17 03:49 It can't report error while use "=" instead "==" in program code. So, program run incorrect. hongbin fei 2010.01.17 09:14 #1 I think it is correct for C++ Andriy Moraru 2010.01.17 12:01 #2 There is no error in using "=" in comparison, but (a = b) will always return true. Just be more attentive when you write your code. Wei Sun 2010.01.17 13:41 #3 thanks New comment
It can't report error while use "=" instead "==" in program code. So, program run incorrect.