filmov
tv
How to Compile and Run a C Program Using GCC on Ubuntu 18.04 LTS?
Показать описание
How to Compile and Run a C Program Using gcc on Ubuntu 18.04 LTS?
Step 1: To check whether you have gcc installed or not on your ubuntu, Open 'Terminal.'
Step 2: Type the command below, and then hit enter.
gcc --version
If you get version info of gcc that means you gcc installed. if you get error like that 'command not found' or 'command not recognized' that means you don't have gcc installed.
Type the command below to install gcc, and then hit Enter:-
sudo apt install build-essential
follow the instructions on terminal, and install it.
Step 3: Now, go to the Directory where you have your C program file. After that type the command below to compile it, and hit enter.
gcc your_c_Program_filename -o filename_that_you_want_to_give
Step 4: To run it, type the command below, and then hit enter.
./filename_that_you_have_given
It's done.
Thanks for watching, please like and subscribe
==============================================
#howto #gcc #Ubuntu
Step 1: To check whether you have gcc installed or not on your ubuntu, Open 'Terminal.'
Step 2: Type the command below, and then hit enter.
gcc --version
If you get version info of gcc that means you gcc installed. if you get error like that 'command not found' or 'command not recognized' that means you don't have gcc installed.
Type the command below to install gcc, and then hit Enter:-
sudo apt install build-essential
follow the instructions on terminal, and install it.
Step 3: Now, go to the Directory where you have your C program file. After that type the command below to compile it, and hit enter.
gcc your_c_Program_filename -o filename_that_you_want_to_give
Step 4: To run it, type the command below, and then hit enter.
./filename_that_you_have_given
It's done.
Thanks for watching, please like and subscribe
==============================================
#howto #gcc #Ubuntu
How to Compile and Run Java Program in Command Prompt ( With Packages ) on Windows 10
how to compile and run java program in eclipse
C compile and run a C program with cmd 🏗️ (optional video)
Learn C++ With Me #1 - How to Compile and Run C++ Code
How to Compile and Run a C++ Program from Command Prompt in Windows 10
Java compile and run with command prompt 💽
How to Compile and Run Java Program in CMD Using Notepad/Notepad++
How To Compile And Run C++ Code With Terminal On Mac
#const keyword in c[E-5] #c#coding #programming #cprogramming #shorts #viralshort @CodingCrazeIndia
Using Notepad++ to Compile and Run Java Programs
How to Compile and Run C program Using GCC on Ubuntu (Linux)
How to compile and run Rust program | Compile and run a Rust application Windows 10
How to Compile and Run a Go Program from Command Prompt
how to compile and execute java program
How to Compile and Run Java Program in Command Prompt (CMD)
How to Compile and Run Pascal Programme
How to compile and run java program saved in another drive in windows.
Compile Time Vs Run Time Error in Java
How to compile and run C++ program using G++ on Ubuntu (Linux)
how to Compile and Run java program From Command Prompt.
HOW TO COMPILE AND RUN C / C++ IN ATOM EDITOR ⚛️
how to compile and run java program | how to compile and run c program in ubuntu | java tutorial
How to compile and run java program in cmd using notepad.
How to Compile and Run Java Program in Eclipse | Eclipse Clean and Build Process Explained
Комментарии