我如何用GCC编译器编译C ++代码? [英] How can I compile C++ code with GCC compiler?

查看:176
本文介绍了我如何用GCC编译器编译C ++代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在记事本中编写了C ++代码,并且想用GCC编译器进行编译。 GCC编译器是一个程序吗?我可以从哪个网站下载它?我没有任何关于它的信息。我能做什么?

解决方案

您可以先下载Code :: Blocks,它是一个可以下载的跨平台IDE,包括MinGW GCC编译器。



http://www.codeblocks.org/



但是如果您使用的是Linux,您可以在终端中只使用gcc命令。


I wrote C++ code in notepad and want to compile with GCC compiler. Is GCC compiler a program? from which site I can download it? I don't have any information about it. What can I do?

解决方案

You can start by downloading Code::Blocks, its an cross-platform IDE that can be downloaded including MinGW GCC compiler.

http://www.codeblocks.org/

But if You're using Linux you can use just a "gcc" command in the terminal.

这篇关于我如何用GCC编译器编译C ++代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆