![]() ![]() What if I convert the file name to binay and then save the file with a name that is being sent as binary. C or up to 03 should be able to make it work. Way back in Visual Studio 6 Unicode was used. So, it is (seems) logical that I should be able to do that with C or up to C++03 code. I can type in the file name with the Unicode symbol in it directly. Out.open(L"A_Unicode天file.txt", ios::out) Įrror: no matching function for call to 'std::basic_ofstream::open(const wchar_t, const openmode&)'|Ĭan this be done in a windows batch file (*.bat) and if so then I can try to run that from my program. Out.open(TEXT("A_Unicode天file.txt"), ios::out) This is "only a workaround not a good solution". "It is undefined behavior to add declarations or definitions to namespace std or to any namespace nested within std, with a few exceptions. ![]() Windows API only, pre C++11 implementation. #include // For reading and writing to files using C++ streams. If it does not, then please advise me of what does. I am doing a lot of testing and I have the following at the beginning of my code which I think might have covered the code that I am now testing. #if _cplusplus ::open(const wchar_t*, const openmode&)'| When I use -std=c++98 a file (c++0x_warning.h) opens up and the following is highlighted : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |