I have a main.cc file that takes an input file as an argument. I then want to print stuff into an output file with the same name as the input file but with a different extension. The input files are ...
How do I get a wchar_t* string from a C++ std::string? std::string.c_str() gives the char* string but I need the wide-charater version to pass into UNICODE version of Windows APIs.