C Primer Plus 第6版 中文版
gcc -std=c11 [filename].c
# windows
.\a.exe
clang [filename].c
# or
gcc [filename].c
./a.out
"program": "${workspaceFolder}/chapter-2/a.exe",
- 根据需要进行修改
{
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) 启动",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/chapter-2/a.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"console": "externalTerminal"
}
]
}