ascii heart in c++ windows 10 not displaying

后端 未结 2 1035
被撕碎了的回忆
被撕碎了的回忆 2021-01-21 06:38

I\'m working on a poker game in c++ using Visual Studio Express 2013 on Windows 10. When i use the following code to assign suits to my cards the console displays all question m

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-21 07:11

    There are a number of things you must check:

    • Make sure your console is using Code Page 437
    • Failing that, make sure your program's locale is the default "C" locale.

    Let us know if it still doesn't work.

提交回复
热议问题