How to install C/C++ compiler in Windows 10 and Linux | GCC Compiler

Code Kicker
Code Kicker
317 بار بازدید - 3 سال پیش - In this video, I have
In this video, I have explained how to install C/C++ compiler in Windows 10 and Linux. In windows you should install a compiler and practice in it. It is not good to use online C/C++ compiler as you won't be able to learn to use the compiler if you do it online. In Linux, the compiler is already installed in it.

My Linktree: https://linktr.ee/piyushTree
Join the Facebook Page: Facebook: codeKickerYT
Join the Telegram Channel for more updates: https://t.me/codeKicker
Follow me on Linked in: LinkedIn: piyush-in

Link to download the installer(for windows users only): https://drive.google.com/file/d/1Z9js...

Commands for CMD(Windows):
[Hit enter after typing each command]

--------Method 1--------------
Compile C code: gcc filename.c
Run C code if used the above command to compile: a

--------Method 2--------------
Compile C code: gcc -o filename filename.c
Run C code if used above command to compile: filename

--------Method 3--------------
Compile C/C++ code: make filename
Run C/C++ code if used above command to compile: filename

For C++, replace gcc with g++

Commands for Terminal(Mac or Linux):
Compile C/C++ code: make filename
Run C/C++ code: ./filename
3 سال پیش در تاریخ 1400/08/02 منتشر شده است.
317 بـار بازدید شده
... بیشتر