copying program arguments to a whitespace separated std::string
- by PaulH
I have a Visual Studio 2008 C++ application where I would like to copy all of program arguments in to a string separated by a whitespace " ". i.e., if my program is called as foo.exe \Program Files, then my folder string below would contain \Program Files
Below is an example of what I'm doing now. I was wondering if there was a shorter or easier…