1. 新建一个空目录
    ​mkdir oj​cd oj
  2. 创建cpp文件 helloworld.cpp
    复制以下测试代码:
#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;
}