gpt4 book ai didi

c++ - 如何使用 Eclipse 和 CDT 使用 MinGW 编译和运行 C++?

转载 作者:IT老高 更新时间:2023-10-28 22:20:56 25 4
gpt4 key购买 nike

我想在 Windows 上使用 Eclipse 和 CDT 进行一些 C++ 开发。插入。我使用 Eclipse Helios SR1 并安装了 CDT 插件。我也安装了MinGW现在我在 Eclipse 中写了一个简单的“Hello World”。

你好.cpp

#include <iostream>
using namespace std;
int main()
{
cout << "Hello World" << endl;
return 0;
}

在 Eclipse 中使用 CDT 插件和 MinGW 编译器。如何编译我的程序?以及如何在 Eclipse 中测试运行程序?

最佳答案

关于c++ - 如何使用 Eclipse 和 CDT 使用 MinGW 编译和运行 C++?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3978898/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com