Using C strings and library string in C++