Solved:Code:typedef std::basic_string<TCHAR> tstring; tstring pathbasic = tstring(programdata) + _T("\\myfile.txt"); std::replace(pathbasic.begin(), pathbasic.end(), _T('\\'), _T('/'));
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |