繁体   English   中英

Windows OS 上 C++ 的配置

[英]Configuration of C++ on Windows OS

我在C:\上安装了 MinGW-w64 C/C++ package。

我应该将哪些系统环境变量添加到 Windows 操作系统中,以便我可以在 VS 代码上使用 C/C++ 进行编码,例如C:\MinGW-w64...\bin等?

You shoul add the path of the GCC compiler mostly it should be like C:\MinGW\Bin (here C:\ can also be something if you put that at some other place or a different drive, I normally install it directly in C drive而且效果很好)

在Windows中搜索Path 搜索,找到“Edit Environment and Path Variables”选项,打开Go到系统变量(这样所有用户都可以使用)点击路径,会有一些空行,粘贴您从 Windows Explorer 复制的路径,或单击浏览器选项进行浏览。 在包含所有编译二进制文件的 MinGW\Bin 路径中添加的主要内容)

我希望你明白我要说的话。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM