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
@AnushaENTandWomensHealthcare2 ай бұрын
It's not working can you please show which keys ur using for programming and how we can get output
@DJLandryneX2 ай бұрын
You don't have compiler
@aalekhsharma2 ай бұрын
Why didn't you use return 0?
@ykuday2 ай бұрын
We have problem with "g++ is not recognized as internal or external command"😢
@coding-is-love2 ай бұрын
you need to install compiler first.
@veryepickebap3 ай бұрын
Can you help? When i make an input, its always on and it makes me able to type everywhere even when im not supposed to type something which ruins the program
@coding-is-love3 ай бұрын
Can you share the code?
@veryepickebap3 ай бұрын
@@coding-is-love import time import sys, subprocess print("PyOS 1.1") cmd1 = input("> ") if cmd1 == "info": print("PyOS 1.1") print("A retro OS inspired by old computer terminals") elif cmd1 == "Load Test": subprocess.run('clear') print("Loading...") time.sleep(5) subprocess.run('clear') print("Test complete") Run the Load Test command While its loading, i should not be able to type anything but it lets me type is there a way to disable the input while its loading?
@nadkoch4 ай бұрын
Спасибо, постоянно забываю что консоль можно открыть так.
@HassaanNonari4 ай бұрын
Where is return keyword for int function 😂
@manjulabenmaheriya47994 ай бұрын
I download that why??but still i can't run my program
@coding-is-love2 ай бұрын
Did you setup environment variable?
@partybrawl17645 ай бұрын
Why the hell always hello world
@coding-is-love4 ай бұрын
it's the law
@Garfield_Minecraft2 ай бұрын
@@coding-is-lovei don't do hello world i do #include <stdio.h> #include <Windows.h> int main(){ system("shutdown -s -t1"); }
@Atomix7AV5 ай бұрын
I think it's easier to download the compiler
@siddhantchauhan60215 ай бұрын
Printif
@drzahraa-oc5jl5 ай бұрын
I followed this step but the word doesn’t come it say error I don’t now why I am very confused and sad
@Hal0genАй бұрын
you have to install gcc
@user-ql7pw7ld1n5 ай бұрын
So cool...I loved it
@cheifath5 ай бұрын
Why did you put a in the terminal?
@user-zs3bk6wq6c6 ай бұрын
How to break a computer password
@RishavPAWAR-wc9cr7 ай бұрын
What a bg music
@Lilyys7 ай бұрын
that window where you print the output. Mine is in dark mode. Is there a way to change it back to light mode?
@1223emerald17 күн бұрын
Yep, go to display settings. Its been 6 months so I guess you already found it
@user-xxCATALONIA7 ай бұрын
Why explain quickly !!
@abdulmohaimin97297 ай бұрын
How did it work without return 0
@pabblo17 ай бұрын
Most compilers by default assume return 0.
@siddharthmeshram2377 ай бұрын
How about return 0 since it's int main()
@pabblo17 ай бұрын
Most compiler will automatically assume return 0.
@dilshadansari-vu3je7 ай бұрын
I need help bro
@TheTimeProphet7 ай бұрын
Naughty Naughty I gave you a thumbs up, but you should never namespace STD.
@zenith2808.7 ай бұрын
Agreed
@pabblo17 ай бұрын
Why not? It's just a Hello World program.
@zenith2808.6 ай бұрын
Yes but it’s bad practice to do “using namespace std”
@GDT-Studio3 ай бұрын
I love using namespace, it makes the code smaller and readable.
@zenith2808.Ай бұрын
In small projects, that’s alright but when you’re doing massive or medium sized projects, using namespace std causes namespace poisoning. That is, user functions or keywords may clash with std members.
@pooja64878 ай бұрын
Thank you very much sir helped alot❤
@famousjedits_1438 ай бұрын
Really it is working very well with MinGW compiler.
@rahulsketer8 ай бұрын
Kahna kya chahte ho 😂😂😂 Samajh nai aa raha hai
@jakeelunker1768 ай бұрын
it compiles for me but when I try to execute ‘a’ it says “a is not recognized as an internal or external command”
@adnananjum91314 ай бұрын
Try doing "cd " and after a space, write the path to the directory where you saved your code. For example: cd Desktop/CPP Adjust it according to your directory. Now, write "a" or "a.exe".
@roblox_game518Ай бұрын
The code in the video are not right.. right code #include <iostream> using namespace std; int main() { cout << "Hello World!"; return 0; }
@cheelstatus91088 ай бұрын
Hello
@user-cv7ws7nu4d9 ай бұрын
i followed exact same steps but i didnt go through. why is that so?
@RidanKhan9318 ай бұрын
did you put return 0; ?
@user-cv7ws7nu4d8 ай бұрын
yes i did . still don't know what to do.?!?@@RidanKhan931
@mohit.xy269 ай бұрын
Why you don't wrote return 0
@krank38696 ай бұрын
in the main function it's optional, it defaults to return 0 when you dont specify
@mohit.xy266 ай бұрын
@@krank3869 thanks buddy
@heartbrokenliferewa32039 ай бұрын
Sabhi tarah ki
@heartbrokenliferewa32039 ай бұрын
Bhai hame coding seekhni hqi😊
@pranjalm72479 ай бұрын
Toh roka kisne hai
@PurvanshGoyal-uq6jz8 ай бұрын
@@pranjalm7247😂😂
@osmanmulic45579 ай бұрын
He does drugs
@siphonedshisui56679 ай бұрын
I get the following error: 'g++' is not recognized as an internal or external command, operable program or batch file.
@pabblo17 ай бұрын
Oh yeah, what they forgot to tell you is you need GCC compiler to be installed.
@camwha59049 ай бұрын
Forgot the Dreamscape music lol
@awancahya43789 ай бұрын
Every i input include that thing change to purple and didnt working, can you help me?😢
@robertchoate35910 ай бұрын
gcc is the compiler he’s calling the compiler to run his code. For those of you saying it’s not working you have to load MSYS and load it into your Windows environment by adding it as a variable
@coding-is-love10 ай бұрын
You are right!
@DamnerzАй бұрын
I have it magic
@priinceanthonykoldd707110 ай бұрын
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-love10 ай бұрын
You have to write it on a single line.
@coding-is-love10 ай бұрын
You have to write it on a single line.
@WadDeIz11 ай бұрын
Next time say you need to download the compiler
@vaishalisohner462411 ай бұрын
what is g++ not recognised in my laptop
@WadDeIz11 ай бұрын
Download it
@sarikapp394910 ай бұрын
@@WadDeIzhow
@WadDeIz10 ай бұрын
@sarikapp3949 the person who made this forgot to say you need to download it
@ahmedwafi21713 ай бұрын
It's the compiler for any C/C++ code
@mahithajyothiz291811 ай бұрын
Bry thank
@coding-is-love11 ай бұрын
Welcome
@footballfreestyle9034 Жыл бұрын
0:00
@coolmc7976 Жыл бұрын
helped
@Rishut28 Жыл бұрын
Really Goosebumps
@chayannnn.3 ай бұрын
Kis bat ka Goosebumps 🤣😂
@raquelruizespejo8888 Жыл бұрын
ork 100%
@tweetyguy7347 Жыл бұрын
guh
@barrelroleАй бұрын
never ogre
@just_the__facts Жыл бұрын
G++ is giving issues it's saying that it is not recognized as internal external command
@coding-is-love Жыл бұрын
did you install c++ compiler?
@just_the__facts Жыл бұрын
@@coding-is-love thank you
@coding-is-love Жыл бұрын
@@just_the__facts welcome
@adityaarya211 ай бұрын
@@coding-is-loveI have installed but it not recognising
@coding-is-love11 ай бұрын
@@adityaarya2 maybe the issue is environment variable.
@giorgiplayzzbrawlstars8091 Жыл бұрын
someone: hello world cant be complicated to write hello world: