View Single Post
  #8  
Old 02-02-2006, 05:50 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by jake13jake
Oh God, this is ridiculous. I get a 0 because Visual C++ 2003 doesn't support declaration of arrays based on a dynamic expression? Oh god, one line of code. All because Bloodshed Dev C++ is different from Microsoft Visual C++ 2003... -_-
(even though I'm required to have Microsoft Visual C++ )

int key_count[key_size];
becomes
int key_count[KEY_MAX];

Considering the rest of the program is based on key_size anyway, what the hell is the difference? If this doesn't get fixed, I'm going to be very upset.
If you want it to be dynamic, perhaps you should instead have declared it dynamically...?
Reply With Quote