vscode 运行 c++文件 输出乱码(无中文)
大家好,小白最近尝试用VScode 学习c++, 但是怎么都运行失败,结果输出一推乱码,可是我的文件路径和代码里面也没有中文字符, 代码如下:
#include<iostream> using namespace std; int main() { cout << "Elements of unordered_set: "; return 0; }
错误如下:

[Running] cd "e:\cpp_debug\" && g++ learning.cpp -o learning && "e:\cpp_debug\"learning 'g++' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� [Done] exited with code=1 in 0.093 seconds