In this video I am going to show How to Compile and Run C program and C++ Using GCC and G++ on Ubuntu Linux. Same instruction will be valid for Linux mint, Debian and other Linux systems
---
🌎 Find Me Here:
YouTube : / @codewithshriekdj
Facebook : / codewithshriekdj
---
To Confirm the Installation By Checking Version
for c compiler:
gcc --version
for cpp compiler
g++ --version
---
Install build-essential by the command:
sudo apt-get install build-essential
---
To compile the code within hello.c file, compile and execute it:
for c compiler:
$ gcc -o hello hello.c
$ ./hello
Hello, World!
for cpp compiler:
$ g++ -o hello hello.c
$ ./hello
Hello, World!
---
This video Will Show You How to Install C Compiler Or CPP Compiler In You Linux Machine.
---
#c #ubuntu #cpp #codinglife #codinglife #linux #ubuntulinux
Watch video How to Compile and Run C program and C++ Program Using GCC and G++ on Ubuntu (Linux) / Lubuntu | Dj online without registration, duration hours minute second in high quality. This video was added by user CodeWithShriekDj 17 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4 once and liked it people.