#include
using namespace std;
int main()
{
cout<<"hello world!"<
return 0;
}
搭建环境
完成后会得到默认生成的launch.json文件
然后将其中的代码替换成以下代码:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
#include
using namespace std;
int main()
{
cout<<"hello world!"<
return 0;
}
搭建环境
完成后会得到默认生成的launch.json文件
然后将其中的代码替换成以下代码:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [