Using GCC with MinGW

本教程将指导你如何配置Visual Studio Code以使用MinGW-w64的GCC C++编译器(g++)和GDB调试器创建可在Windows上运行的程序。首先确保安装了VS Code和C/C++扩展,并通过MSYS2获取最新版Mingw-w64。安装完成后,你需要将Mingw-w64路径添加到系统环境变量,并验证安装是否成功。
摘要由CSDN通过智能技术生成

In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger frommingw-w64to create programs that run on Windows.

After configuring VS Code, you will compile and debug a simple Hello World program in VS Code. This tutorial does not teach you about GCC, GDB, Mingw-w64, or the C++ language. For those subjects, there are many good resources available on the Web.

If you have any problems, feel free to file an issue for this tutorial in theVS Code documentation repository.

Prerequisites#

To successfully complete this tutorial, you mus

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值