#include <iostream>
#include <windows.h>
using namespace std;
inline const char* wtc(const WCHAR *from)
{
//Используется буффер -- статическая переменная
static char buf[1024] = { 0 };
if (!CharToOemW(from, buf)) {
cout << GetLastError();
exit(-1);
}
return buf;
}
int printRoutes()
{
cout << wtc(L"╔════╤════════════════════════════════════════════════════════════════╗") << endl;
cout << wtc(L"╟────┼────────────────────────────────────────────────────────────────╢") << endl;
return 0;
}
int main()
{
printRoutes();
return 0;
}