I know text.c_str automatically cleans its own assignment, but i am wondering if when i recast it to (char*) if it creates a new instance that must be freed,
eg do i need this instead, or would this free the managed pointer?:
Its a string correct. I know that the pointer returned from c_str is managed, but i was worried that if i cast it,
eg:
Char* temp= (Char*)text.c_str();
does this re-cast create a new instance, and should i delete temp afterwards?