OK I was wondering what is the easiest way to do this?
Let's say I have some arguments
int main(int argc, char* argv[])
and argv[1] equals a c-style string. I want to change this to a std::string
because I want to do stuff with it and I prefer working with std::strings.
What is the easiest way to do this?