You could return an STL string. Those are much easier to work with anyway. You can do that like any other function:
Code:
string my_func();