you can use std::string.
std::string has a nice set of functions which you could use.

If you need more help,
you can post your code in [code] ... [/code] tags.

one thing I see is that the word 'new' is a reserved keyword, so you can't use it as an identifier.