|  | 
|  | 
| вернуться в форум | This is very very strange... this C++ code work correctly on my machine and on Timus's:{
 a[b][c[b]++] = i;
 b++;
 }
 
 but this code work incorrectly on Timus:
 {
 a[b][c[b++]++] = i;
 }
 
 I have spent half-day to find this bug.
The behavior of this code is unpredictable. Don't do that.Re: This is very very strange... I think it is not a good habbit to write a program like that.
 Edited by author 15.07.2009 22:08
 | 
 | 
|