You convinced me:) I will change char* to std::string.