I can't see the russian alphabet in Visual Studio 2008

后端 未结 1 747
执念已碎
执念已碎 2021-01-06 10:53

I\'m trying to output Russian words in Visual Studio 2008. I wrote:

#include 
#include 
using namespace std;

void main()
{
          


        
1条回答
  •  猫巷女王i
    2021-01-06 11:30

    The problem is that you aren't using Unicode characters set (wstring, wcout as @ Bình Nguyên have already mentioned). There are two ways to solve this problem:

    1. Use unicode characters set.
    2. Go to Control Panel -> Region and Language -> Administrative Tab -> Language for non-Unicode programs -> Change system locale... -> choose Russia.

    0 讨论(0)
提交回复
热议问题