Learn how to compile and run C/C++ programs in linux (ubuntu).
了解如何在Linux(ubuntu)中编译和运行C / C ++程序。
Linux is becoming very popular among the programmers. In my opinion you should also start doing programming in linux. I thought that I should share the process to write and run C/C++ programs on linux platform.
Linux在程序员中正变得非常流行。 我认为您还应该开始在Linux中进行编程。 我认为我应该分享在Linux平台上编写和运行C / C ++程序的过程。
如何在Linux中编译和运行C / C ++程序(Ubuntu) (How to Compile and Run C/C++ Programs in Linux (Ubuntu))
1. First of all open terminal window, for this go to Applications > Accessories > Terminal, as shown in below image.
1.首先打开终端窗口,为此请转到应用程序>附件>终端 ,如下图所示。