Thanh Thảo
New member
How do I code C in Terminal?
Answer
How to Compile C Program in Command Prompt?
Answer
How to Compile C Program in Command Prompt?
- Run the command ‘gcc -v’ to check if you have a compiler installed. …
- Create a c program and store it in your system. …
- Change the working directory to where you have your C program. …
- Example: >cd Desktop. …
- The next step is to compile the program.