I have successfully installed Linux and GCC programming.
Source: Internet
Author: User
I have successfully installed Linux, GCC programming-general Linux technology-Linux programming and kernel information. The following is a detailed description. Many people are not used to the editing mode of plain text, including me! Therefore, we still need to compile the C language in a single mode.
First, select the application menu on the desktop: Application --> programming --> KDevelop: C/C ++
After entering, select the project tab at the top of the window: Project menu --> new project --> simple Hello World Program. In this case, the property selection menu appears and enter the application name;
Select location {path}
Follow the default steps to "Next" and click "finish ". Then compile a C language program.
Select "build project" {or press the shortcut key F8} in the second row above }. A dialog box is displayed, with the content "Run automake tool first", and click "run ". If there is no problem with the program, the project is built, and the message window below shows the "*** success ***" prompt.
Click the "build activity target" button {or press the shortcut key F7 }. The message window below displays the same "*** success ***" message. Finally, click the "program execution" button {or the shortcut key Shift + F9 }. The execution structure is displayed in a pop-up window. "Press enter to continue ". In this case, the application window prompts "** exit normally ***".
The compilation of the graphic mode is not described too much. Because it is very similar to VC in Windows. I hope you can return your skills and problems!
We noticed that the window below the KEevelop compilation mode has a special window option: Komsole {embedded terminal window }. In fact, we can also compile in text mode here. Is it a bit like a C: \ command prompt in the Start menu in Windows!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service