How to run C program in command prompt

  Рет қаралды 239,757

Coding is Love

Coding is Love

Жыл бұрын

Writing a hello world program in C language and compiling and executing it using Command Prompt (CMD)
#cmd #howto #C #clanguage #programming
#shorts #howtocode #youtubeshorts

Пікірлер: 35
@famousjedits_143
@famousjedits_143 8 ай бұрын
Really it is working very well with MinGW compiler.
@aalekhsharma
@aalekhsharma 2 ай бұрын
Why didn't you use return 0?
@Rishut28
@Rishut28 Жыл бұрын
Really Goosebumps
@chayannnn.
@chayannnn. 3 ай бұрын
Kis bat ka Goosebumps 🤣😂
@footballfreestyle9034
@footballfreestyle9034 Жыл бұрын
0:00
@Atomix7AV
@Atomix7AV 4 ай бұрын
I think it's easier to download the compiler
@cheifath
@cheifath 5 ай бұрын
Why did you put a in the terminal?
@UmmeHabiba-jz1om
@UmmeHabiba-jz1om Ай бұрын
C programming kivabe notepad e somvob 😮
@RiyasSpecifications11
@RiyasSpecifications11 Ай бұрын
My problem is that only first program is compiled as one exe file is created but others are not, it displays program cannot be executed. I typed a , after gcc filename , that shows hello , the content of first file but how to see content of other file in cmd
@priinceanthonykoldd7071
@priinceanthonykoldd7071 10 ай бұрын
So I have a question ! If I want to send out a command in this language would I be changing the “hello world” to my desired command ? In how many lines does this take up ?
@coding-is-love
@coding-is-love 10 ай бұрын
You have to write it on a single line.
@coding-is-love
@coding-is-love 10 ай бұрын
You have to write it on a single line.
@heartbrokenliferewa3203
@heartbrokenliferewa3203 9 ай бұрын
Sabhi tarah ki
@AnushaENTandWomensHealthcare
@AnushaENTandWomensHealthcare 2 ай бұрын
It's not working can you please show which keys ur using for programming and how we can get output
@DJLandryneX
@DJLandryneX Ай бұрын
You don't have compiler
@WadDeIz
@WadDeIz 10 ай бұрын
Next time say you need to download the compiler
@heartbrokenliferewa3203
@heartbrokenliferewa3203 9 ай бұрын
Bhai hame coding seekhni hqi😊
@pranjalm7247
@pranjalm7247 8 ай бұрын
Toh roka kisne hai
@PurvanshGoyal-uq6jz
@PurvanshGoyal-uq6jz 8 ай бұрын
​@@pranjalm7247😂😂
@mohit.xy26
@mohit.xy26 8 ай бұрын
Why you don't wrote return 0
@krank3869
@krank3869 6 ай бұрын
in the main function it's optional, it defaults to return 0 when you dont specify
@mohit.xy26
@mohit.xy26 6 ай бұрын
@@krank3869 thanks buddy
@manjulabenmaheriya4799
@manjulabenmaheriya4799 4 ай бұрын
I download that why??but still i can't run my program
@coding-is-love
@coding-is-love 2 ай бұрын
Did you setup environment variable?
@osmanmulic4557
@osmanmulic4557 9 ай бұрын
He does drugs
@rahulsketer
@rahulsketer 8 ай бұрын
Kahna kya chahte ho 😂😂😂 Samajh nai aa raha hai
@siddhantchauhan6021
@siddhantchauhan6021 5 ай бұрын
Printif
@partybrawl1764
@partybrawl1764 4 ай бұрын
Why the hell always hello world
@coding-is-love
@coding-is-love 4 ай бұрын
it's the law
@Garfield_Minecraft
@Garfield_Minecraft 2 ай бұрын
​@@coding-is-lovei don't do hello world i do #include #include int main(){ system("shutdown -s -t1"); }
@vaishalisohner4624
@vaishalisohner4624 11 ай бұрын
what is g++ not recognised in my laptop
@WadDeIz
@WadDeIz 10 ай бұрын
Download it
@sarikapp3949
@sarikapp3949 10 ай бұрын
​@@WadDeIzhow
@WadDeIz
@WadDeIz 10 ай бұрын
@sarikapp3949 the person who made this forgot to say you need to download it
@ahmedwafi2171
@ahmedwafi2171 3 ай бұрын
It's the compiler for any C/C++ code
How to run c program in notepad++ and command prompt
4:36
Aman Jat
Рет қаралды 79 М.
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 37 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 27 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 113 МЛН
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 653 М.
How to Run Java Program in Command Prompt CMD  in Windows 11
11:57
ProgrammingKnowledge2
Рет қаралды 97 М.
We can now write scripts using these languages, but is it worth it?
8:28
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 901 М.
Helix Code Editor - Vi For Mere Mortals!
8:44
Gamefromscratch
Рет қаралды 18 М.
How to use CodeBlocks IDE for C Programming
11:53
srikanth pragada
Рет қаралды 387 М.
How to Compile and Run Java Program from Command Prompt
6:27
LearningLad
Рет қаралды 1,3 МЛН
So you want to make a Game Engine!? (WATCH THIS before you start)
14:39
Giant Sloth Games
Рет қаралды 265 М.
Watch this before you start Coding! | 10 Tips for Coders
22:31
Apna College
Рет қаралды 2 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 37 МЛН