Originally Posted By: Ercoles
So how should they be defined locally?

Not at all. A STRING* is an engine object. Allocation is costly. You should use global or static strings whereever possible. If you have good reason to create a local string with str_create don't forget to free them afterwards, or you'll create a memory leak.


Always learn from history, to be sure you make the same mistakes again...