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
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
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 ?
Really it is working very well with MinGW compiler.
I download that why??but still i can't run my program
Did you setup environment variable?
Bhai hame coding seekhni hqi😊
Toh roka kisne hai
@@pranjalm7247😂😂
Why didn't you use return 0?
It is no necessary
@@papeador-x
Also we can use void main in c
But in c++ int main compulsory 😊
No requirement of return 0;
What's this app name where U r typing program I really want to practice
Notepad
only if you install minGW on windows and include path mingw/bin/
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
C programming kivabe notepad e somvob 😮
I think it's easier to download the compiler
Why did you put a in the terminal?
0:00
Really Goosebumps
Kis bat ka Goosebumps 🤣😂
Next time say you need to download the compiler
It's not working can you please show which keys ur using for programming and how we can get output
You don't have compiler
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 ?
You have to write it on a single line.
You have to write it on a single line.
no return 0?
He does drugs
Why you don't wrote return 0
in the main function it's optional, it defaults to return 0 when you dont specify
@@krank3869 thanks buddy
Kahna kya chahte ho 😂😂😂
Samajh nai aa raha hai
Printif
Why the hell always hello world
it's the law
@@coding-is-lovei don't do hello world i do
#include
#include
int main(){
system("shutdown -s -t1");
}
Sabhi tarah ki
what is g++ not recognised in my laptop
Download it
@@WadDeIz_Realhow
@sarikapp3949 the person who made this forgot to say you need to download it
It's the compiler for any C/C++ code