Hi, edgelib! I've just notice, there is new EString class. I really can't imagine, how it works. Before this I used StrCpy to copy some text into variable.
Lets say, it was:
Now, how would this part of code look like using EString? maybe my question is sort of stupid, but I just wanna know. because "Also, it will handle memory allocation and protection automatically." attracts me a lot.
Lets say, it was:
- Code:
ClassEStd::StrCpy(drawtext, "Start Game");
buffer->DrawFont(buffer->GetWidth() / 2, ypos, &shared-;>font, drawtext, EFX_COLORKEY | EFX_COLORIZE | EFO_HCENTER, textcolor);
Now, how would this part of code look like using EString? maybe my question is sort of stupid, but I just wanna know. because "Also, it will handle memory allocation and protection automatically." attracts me a lot.