Microsoft wrote: |
Until November 7, 2006, we are promotionally discounting the downloadable versions of Express to free. This doesn’t mean that the product turns off after a year, but rather that as long as you download the product before November 7, 2006, you can get it for free and you can use it forever. |
SpecShip wrote: |
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=126606&SiteID=1 |
Cerium wrote: |
what for loop bug? |
Purge+ wrote: |
In MSVC 6.0, there's a for loop "bug" that won't let the user use the same for loop declaration in the same function/event. So, you'd have to somehow rearrange the code so that there's only 1 for loop rather than 2 equal ones. |
Code: Show/Hide for (int i = 0; i < 10; i++)
for (int i = 0; i < 5; i++) printf("Hello: %d\n", i); |
Code: Show/Hide int i;
for (i = 0; i < 5; i++) { int i; for (i = 0; i < 5; i++) printf("Hello: %d\n", i); } |
Code: Show/Hide for (int i = 0; i < THIS_THING; ++i)
count[i] = 0; while (parse) { Player *p = parse->item; if (p->ship != SHIP_Spectator) if (validTeam(p->team)) ++count[p->team]; parse = parse->next; } int a_c = 0, a_i = -1; int b_c = 2000, b_i = -1; for (int i = 0; i < THIS_THING; ++i) { if (count[i] >= h_c) { a_c = count[i]; a_i = i; } if (count[i] <= l_c) { b_c = count[i]; b_i = i; } } |
Purge+ wrote: |
This snippet was taken from a MERVBot plugin I was working on. VS 2005 compiled it perfectly, but not MSVC 6. |
Cerium wrote: |
You can 'fix' that in older versions (VS.Net and older) by changing some settings somewhere. I never cared enough to look myself, but thats what I hear. |
Cyan~Fire wrote: |
The second for loop is the only one that's even slightly necessary. The first should just be a memset. |