This is a quick program I just wrote up to see if I even remembered how to start a c++ program from scratch. It\'s just reversing a string (in place), and looks generally c
See sharptooth for explanation.
Try this instead:
#include void main() { char someString[27]; std::strcpy( someString, "Hi there, I'm bad at this." ); strReverse( someString ); }
Better yet, forget about char * and use instead. This is C++, not C, after all.
char *