Well, once again I'm pulling my freaking hair out over C++ programs, you think that I would have learned my lesson last year after that horrible data structures class. Anyways, I'm reviewing my text, and I have a question the book (and a lot of tutorials) don't answer in a straightforward manner:
If I have a c-string, what it the best way to pass it to a function (as a char*, as a char, etc), and what is the best way to return it? Should I declare the return type as char*, char, etc.?
Also, for converting a c-string to a string, what is the most straightforward way?