February 5th, 2013, 03:55 AM
Quick question on const char to wstring
I am wondering if I have the following parameter to pass in to a function
This statement is wrong.
void Load(std::wstring filename);
I don't want to pre-declare a variable. How do I directly pass a wstring (literal) to this function.
Sorry, Don't know if this is specific to Visual C++ where I am using
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!