By a public variable I meant a global variable.
But aye, I've been in Perl/PHP too long. Forgot that in C++ you have to create your own dynamic strings, if I recall correctly.