10.03.2010, 05:51
I know that I can create packed strings doing for example:
That becomes
But I have some questions...
Can I put ! before "text" in format?
For example:
and...
What are the advantages and disvantages of packed strings?
Код:
new string[12 char] = !"Hello";
Код:
new string[3] = !"Hello";
Can I put ! before "text" in format?
For example:
Код:
new string[24 char]; format(string, sizeof(string), !"Hello by %s", "Peppe");
What are the advantages and disvantages of packed strings?