Can I make array of functions?
#3

Really I need for loop
Код:
for(i=0; i<=sizeof(cars); i++)
Just I don't want to create
Код:
cars[0] = ...
cars[1] = ...
cars[2] = ...
cars[3] = ...
...
It's easier:
Код:
cars[size] = { car, car, car ... }
Reply


Messages In This Thread
Can I make array of functions? - by Stuneris - 11.02.2014, 15:57
Re: Can I make array of functions? - by PowerPC603 - 11.02.2014, 16:01
Re: Can I make array of functions? - by Stuneris - 11.02.2014, 16:06
Re: Can I make array of functions? - by PowerPC603 - 11.02.2014, 16:11
Re: Can I make array of functions? - by Stuneris - 11.02.2014, 16:13
Re: Can I make array of functions? - by PowerPC603 - 11.02.2014, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)