Lord of Shadows
2[H]4U
- Joined
- Mar 9, 2004
- Messages
- 3,322
I was writing some c along the lines of:
And noticed that visual studio's compiler does the post increment *before* the assignment. Nothing big I know, but I figured I'd throw it out here before I start looking for a report bugs section. I'm using visual studio 2005 professional and there are no updates that I'm aware of. (or the check for updates button is aware of either)
Code:
for (i = 0, j = 0; i < hLength && j < length - hLength;)
list[i + j] = (left[i] < right[j]) ? left[i++] : right[j++];
And noticed that visual studio's compiler does the post increment *before* the assignment. Nothing big I know, but I figured I'd throw it out here before I start looking for a report bugs section. I'm using visual studio 2005 professional and there are no updates that I'm aware of. (or the check for updates button is aware of either)