MySQL
#10

Quote:
Originally Posted by Pizzy
Посмотреть сообщение
Why do you want to list 9 of those strings? Why not just list the number #1 ?

You are obviously soon going to have more than 10 players registered, so why bother doing this extra code? The first 10 people registered are only going to see it - and then it's a whole waste of code.

So instead of:

1.) My Name ($100)
2) shit
--
9) shit

Just:
1.) My Name ($100)

--nothing here unless more players are registered--


That would be easier, and faster.
Indeed, sir. I thought about it for the quarter of a second, but being used to how in certain cases I fill CSTL vectors with "dummy" data as I call it to avoid running a number of extra checks when something gets modified, I resorted to pointing out to what he actually needs.
Reply


Messages In This Thread
MySQL - by AnonymousUser - 29.06.2012, 17:52
Re: MySQL - by Vince - 29.06.2012, 18:25
Re: MySQL - by AnonymousUser - 29.06.2012, 18:38
Re: MySQL - by Vince - 29.06.2012, 19:15
Re: MySQL - by AnonymousUser - 29.06.2012, 21:01
Re: MySQL - by AnonymousUser - 30.06.2012, 20:11
Re: MySQL - by AndreT - 30.06.2012, 20:36
Re: MySQL - by Pizzy - 30.06.2012, 20:43
Re: MySQL - by BaubaS - 30.06.2012, 22:17
Re: MySQL - by AndreT - 30.06.2012, 23:57

Forum Jump:


Users browsing this thread: 2 Guest(s)