How do I print it several times? (As many times as files)
#2

EDIT: Oh, I now get it.. Use loops..

#define MAX_CARS (amount of cars you got)


for (new i = 0; i < MAX_CARS; i++)
{
}

^ explanation: i = 0, and when i is lower then MAX_CARS, then i goes up. So if MAX_CARS is 4, it does 0, 1, 2, 3.
Reply


Messages In This Thread
How do I print it several times? (As many times as files) - by Kyle_Olsen - 08.11.2010, 12:35
Re: How do I print it several times? (As many times as files) - by rbN. - 08.11.2010, 13:54
Re: How do I print it several times? (As many times as files) - by Kyle_Olsen - 08.11.2010, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)