dynamic array allocation
#2

I think you would have to undefine MAX_VEHICLES the just define it again. I'm not sure that's such a good idea though as that may make your array go out of bounds.

In fact I'm not even sure the code would compile TBH. The array size I THINK has to stay static which means setting it to the MAX number of vehicles possible on the system.
Reply


Messages In This Thread
dynamic array allocation - by Dj_maryo1993 - 08.05.2013, 20:50
Re: dynamic array allocation - by CJay9209 - 08.05.2013, 20:56
Re: dynamic array allocation - by IceCube! - 08.05.2013, 21:00
Re: dynamic array allocation - by Bakr - 08.05.2013, 21:04
Re: dynamic array allocation - by CJay9209 - 08.05.2013, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)