How do I run a .c file in Linux?

Đức Lưu

New member
How do I run a .c file in Linux?
Answer
This document shows how to compile and run a C program on Ubuntu Linux using the gcc compiler.
  • Open up a terminal. Search for the terminal application in the Dash tool (located as the topmost item in the Launcher).
  • Use a text editor to create the C source code. Type the command.
  • Compile the program.
  • Execute the program.
 

Tìm kiếm

Back
Top