Тёмный

How to run C program in command prompt 

Coding is Love
Подписаться 1,4 тыс.
Просмотров 292 тыс.
50% 1

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

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@famousjedits_143
@famousjedits_143 11 месяцев назад
Really it is working very well with MinGW compiler.
@Atomix7_137
@Atomix7_137 8 месяцев назад
I think it's easier to download the compiler
@cheifath
@cheifath 8 месяцев назад
Why did you put a in the terminal?
@RiyasSpecifications11
@RiyasSpecifications11 4 месяца назад
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
@footballfreestyle9034
@footballfreestyle9034 Год назад
0:00
@WadDeIz_Real
@WadDeIz_Real Год назад
Next time say you need to download the compiler
@samtheking5759
@samtheking5759 2 месяца назад
no return 0?
@manjulabenmaheriya4799
@manjulabenmaheriya4799 7 месяцев назад
I download that why??but still i can't run my program
@coding-is-love
@coding-is-love 5 месяцев назад
Did you setup environment variable?
@heartbrokenliferewa3203
@heartbrokenliferewa3203 Год назад
Bhai hame coding seekhni hqi😊
@pranjalm7247
@pranjalm7247 Год назад
Toh roka kisne hai
@PurvanshGoyal-uq6jz
@PurvanshGoyal-uq6jz Год назад
​@@pranjalm7247😂😂
@siddhantchauhan6021
@siddhantchauhan6021 8 месяцев назад
Printif
@partybrawl1764
@partybrawl1764 8 месяцев назад
Why the hell always hello world
@coding-is-love
@coding-is-love 7 месяцев назад
it's the law
@Garfield_Minecraft
@Garfield_Minecraft 5 месяцев назад
​@@coding-is-lovei don't do hello world i do #include #include int main(){ system("shutdown -s -t1"); }
@aalekhsharma
@aalekhsharma 5 месяцев назад
Why didn't you use return 0?
@papeador-x
@papeador-x 2 месяца назад
It is no necessary
@pradiphange4697
@pradiphange4697 29 дней назад
​@@papeador-x Also we can use void main in c But in c++ int main compulsory 😊 No requirement of return 0;
@AbdullahKhan-iy9uj
@AbdullahKhan-iy9uj Месяц назад
What's this app name where U r typing program I really want to practice
@useratyoutube
@useratyoutube Месяц назад
Notepad
@Rishut28
@Rishut28 Год назад
Really Goosebumps
@chayannnn.
@chayannnn. 6 месяцев назад
Kis bat ka Goosebumps 🤣😂
@pathtocpp
@pathtocpp 16 дней назад
only if you install minGW on windows and include path mingw/bin/
@UmmeHabiba-jz1om
@UmmeHabiba-jz1om 4 месяца назад
C programming kivabe notepad e somvob 😮
@priinceanthonykoldd7071
@priinceanthonykoldd7071 Год назад
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 Год назад
You have to write it on a single line.
@coding-is-love
@coding-is-love Год назад
You have to write it on a single line.
@mohit.xy26
@mohit.xy26 Год назад
Why you don't wrote return 0
@krank3869
@krank3869 10 месяцев назад
in the main function it's optional, it defaults to return 0 when you dont specify
@mohit.xy26
@mohit.xy26 9 месяцев назад
@@krank3869 thanks buddy
@osmanmulic4557
@osmanmulic4557 Год назад
He does drugs
@AnushaENTandWomensHealthcare
@AnushaENTandWomensHealthcare 5 месяцев назад
It's not working can you please show which keys ur using for programming and how we can get output
@DJLandryneX
@DJLandryneX 5 месяцев назад
You don't have compiler
@rahulsketer
@rahulsketer 11 месяцев назад
Kahna kya chahte ho 😂😂😂 Samajh nai aa raha hai
@heartbrokenliferewa3203
@heartbrokenliferewa3203 Год назад
Sabhi tarah ki
@vaishalisohner4624
@vaishalisohner4624 Год назад
what is g++ not recognised in my laptop
@WadDeIz_Real
@WadDeIz_Real Год назад
Download it
@sarikapp3949
@sarikapp3949 Год назад
​@@WadDeIz_Realhow
@WadDeIz_Real
@WadDeIz_Real Год назад
@sarikapp3949 the person who made this forgot to say you need to download it
@ahmedwafi2171
@ahmedwafi2171 6 месяцев назад
It's the compiler for any C/C++ code
Далее
Learning C# In A Week... Otherwise I Fail University
9:04
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,7 млн
CMD PRANKS! (Educational Purposes ONLY!)
9:17
Просмотров 1,5 млн
Compilers, How They Work, And Writing Them From Scratch
23:53