#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector<string> msg {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};
for (const string& word : msg)
{
cout << word << " ";
}
cout << endl;
}
代码运行后在终端显示
D:\Microsoft VS Code>cd "c:\Users\f\Documents" && g++ 1t.cpp -o 1t && "c:\Users\f\Documents"1t
g++: error: 1t.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
怎么办