Не понимаю, зачем вы пытаетесь подражать DC.
Он делает так как ему нравится, так и вы делайте так как нравится вам.
2й вариант лучше и быстрее
Открыть/закрыть
http://imgur.com/burPTx7
PHP код:
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
new time = GetTickCount();
for(new x = 0; x < 50000000; x++)
{
static const check_str [] = "Проверка %d";
new new_check [sizeof(check_str)];
format(new_check, sizeof(new_check), check_str, 22);
}
printf("static const %d",GetTickCount()-time);
new timex = GetTickCount();
for(new x = 0; x < 50000000; x++)
{
new new_check [11];
format(new_check,11,"Проверка %d", 22);
}
printf("new %d",GetTickCount()-timex);
print("----------------------------------\n");
}