赞
踩
首先,推荐一个Mac下载软件的公众号,叫Mac软件管家(~~~不是打广告,是真的很好用~~~)
然后搜索到VSCode 按照步骤操作就行
下载完成之后,安装VSCode关于C的插件(如果不想用中文版可以不安装Chinese)
首先建立一个工作区文件夹(新建一个文件夹即可)
在工作区文件夹下建立一个名为.vscode的文件夹
在.vscode文件夹内新建c_cpp_properties.json、launch.json、tasks.json三个文件,文件内容分别如下
c_cpp_properties.json
{ "configurations": [ { "name": "Mac", "includePath": [ "/usr/include", "/usr/local/include", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1" ], "browse": { "limitSymbolsToIncludedHeaders": true, "databaseFilename": "", "path": [ "/usr/include", "/usr/local/include", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1" ] } }, { "name": "Linux", "includePath": [ "/usr/include", "/usr/local/include" ], "browse
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。