How do you compile in terminal?

Khang Lê

New member
How do you compile in terminal?
Answer
How to Compile C Program in Command Prompt?
  1. Run the command ‘gcc -v’ to check if you have a compiler installed. …
  2. Create a c program and store it in your system. …
  3. Change the working directory to where you have your C program. …
  4. Example: >cd Desktop. …
  5. The next step is to compile the program. …
  6. In the next step, we can run the program.
25 нояб. 2020 г.
 

Tìm kiếm

Back
Top