Lets say, it was:
- Code: Select all
ClassEStd::StrCpy(drawtext, "Start Game");
buffer->DrawFont(buffer->GetWidth() / 2, ypos, &shared->font, drawtext, EFX_COLORKEY | EFX_COLORIZE | EFO_HCENTER, textcolor);3 lines; 0 keywds; 1 nums; 26 ops; 1 strs; 0 coms Syntactic Coloring v0.4 - Dan East
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.