ascii heart in c++ windows 10 not displaying

后端 未结 2 1036
被撕碎了的回忆
被撕碎了的回忆 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.

    0 讨论(0)
  • 2021-01-21 07:22

    Check the checkbox in Properties that says "Use the old console" or something like that (Mine was in swedish). That solved the problem for me.

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