C++ style string conversion

Tried using std:: before, which was silly.
Works like a charm now.