I have some code where I explicitly case a string pointer to a char pointer.
It compiles fine with this, but I want to know if it really works or if it changes things.
If I do this, will I lose what the string pointer was pointing at before it was cast to a char pointer?
EDIT: What was I possibly thinking...?? I can just call up string::c_str(). Must be getting too tired. Its getting pretty late here.