我如何用GCC编译器编译C ++代码? [英] How can I compile C++ code with GCC compiler?
本文介绍了我如何用GCC编译器编译C ++代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
您可以先下载Code :: Blocks,它是一个可以下载的跨平台IDE,包括MinGW GCC编译器。
但是如果您使用的是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.
But if You're using Linux you can use just a "gcc" command in the terminal.
这篇关于我如何用GCC编译器编译C ++代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文