mysql load only car id 1 [+Rep]
#5

Quote:
Originally Posted by Sledgehammer
Посмотреть сообщение
++ TotalVehiclesCreated;

Should be:

TotalVehiclesCreated++;
Has nothing to do with it, as in this context both versions have exactly the same effect. But try:
Код:
new a = 5;
new b = 5;

printf("%d", a++); // prints 5, because a gets incremented after the print
printf("%d", ++b); // prints 6, because b gets incremented before the print
Reply


Messages In This Thread
mysql load only car id 1 [+Rep] - by simo0000 - 27.05.2015, 19:09
Re : mysql load only car id 1 [+Rep] - by simo0000 - 27.05.2015, 19:19
Re : mysql load only car id 1 [+Rep] - by simo0000 - 27.05.2015, 19:41
Re: mysql load only car id 1 [+Rep] - by Sledgehammer - 27.05.2015, 19:57
Re: mysql load only car id 1 [+Rep] - by Vince - 27.05.2015, 20:05
Re: mysql load only car id 1 [+Rep] - by Sledgehammer - 27.05.2015, 20:34
Re : mysql load only car id 1 [+Rep] - by simo0000 - 27.05.2015, 21:08
Re : mysql load only car id 1 [+Rep] - by simo0000 - 27.05.2015, 21:35
Re: mysql load only car id 1 [+Rep] - by Dubya - 28.05.2015, 08:03
Re : Re: mysql load only car id 1 [+Rep] - by simo0000 - 28.05.2015, 10:58

Forum Jump:


Users browsing this thread: 2 Guest(s)