C++ spanish question mark

后端 未结 6 1545
梦谈多话
梦谈多话 2021-01-16 18:12

I am beginning developing in C++ and I am developing a simple calculator in console and when my program ask to the user if wants to exit,the character \'¿\' doesn\'t appear

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-16 18:32

    this character is simply not included in basic ascii. Try using wstring http://www.cplusplus.com/reference/string/wstring/

提交回复
热议问题