c++ - 如何在C++ Visual Studio中使用替代代码符号

标签 c++ windows visual-studio

我正在使用Visual Studio for C++,当使用alt符号时,它将返回?。为什么?

最佳答案

您可以使用

setlocale(LC_CTYPE, Encoding what you need);


也许不是最好的,而是简单的选项,可根据需要设置控制台编码输出。

关于c++ - 如何在C++ Visual Studio中使用替代代码符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63230438/

相关文章:

c++ - 更改 R 包的 exportPattern 以隐藏 Rcpp 函数

c++ - 嵌套的 catch 运算符

.net - 我应该在 Windows 消息框中使用警告图标还是问号图标?

windows - 重命名项:拒绝访问路径(Flutter升级)

visual-studio-2010 - 如何将大型 VS 解决方案分解为更小的解决方案

c++ - 使用太多字符串文字时,Visual Studio 2010 需要永远链接

c# - 如何将当前 VS 主题应用于现有控件

c++ - LNK2038 : mismatch detected for 'RuntimeLibrary' : value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in main.obj

C++11/14 : How to remove a pointer-to-member from a type?

windows - 如何删除 Windows 任务栏中的多个 emacs 实例