Well, I was doing that for awhile, but then I when I needed to press backspace to take off on character it never seemed to work. I decided to use string because of it's substr method but then you can't use the PTC method because it requires char* so I needed to use strcpy to copy from const char* using c_str() to char* and then go back again to string in case people press backspace. Then I had to convert again after they hit enter or a hotkey so that it is push-able.
There was probably an easier way but I finished it so meh.