I want to output a text to a file via two pointers that I have declared:
wchar_t *Col1=\"dsffsd\", *Col2=\"sdfsf\";
Here is what I have t
First, use std::wofstream instead of std::ofstream.
std::wofstream
std::ofstream
Also, use the L prefix on your text string to indicate that your text is wide character text:
L
wchar_t *Col1=L"dsffsd"