normally I would dynamically allocate an array of certain size and pass it to the function, the function would fill it with values and that's it
how can I use STL's string directly in that function, without allocating C string first and copying it to the string later?
thanks