I am trying to read in user input which is a file path (riddled with escape characters) into a CString. How can I do this without asking the user to replace '\' with '\\'?
For instance:
CString myString;
myString = _T("c:\test\file\j\mypath\path\user.bin");
wcout << myString.GetBuffer(myString.GetLength()) << endl;
outputs:
c: estQilejmypathpathuser .bin