Нужно в строке UNICODE написать все символы в обратном порядке. Очень маленький опыт работы с UNICODE по-этому не понимаю что нужно исправить
#include "stdafx.h"
#include <fcntl.h>
#include <io.h>
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include "stdafx.h"
int main()
{
wchar_t string[] = L"\x0124\x0117\x0177 \x263A\n";
int lenght = size_t wcslen (string);
int temp, i, j;
for (i = 0; j = lenght - 1; i < j; i++; j--)
{
temp = string[i];
string[i] = string[j];
string[j] = temp;
}
wprintf(string);
system("pause");
return 0;
}