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-love Жыл бұрын
You are right!
@Damnerz5 ай бұрын
I have it magic
@visitor_t-w3p9 ай бұрын
So cool...I loved it
@pooja6487 Жыл бұрын
Thank you very much sir helped alot❤
@TheTimeProphet Жыл бұрын
Naughty Naughty I gave you a thumbs up, but you should never namespace STD.
@zenith2808.11 ай бұрын
Agreed
@pabblo111 ай бұрын
Why not? It's just a Hello World program.
@zenith2808.10 ай бұрын
Yes but it’s bad practice to do “using namespace std”
@GDT-Studio7 ай бұрын
I love using namespace, it makes the code smaller and readable.
@zenith2808.5 ай бұрын
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.
@coolmc7976 Жыл бұрын
helped
@HackYourLife2day Жыл бұрын
it compiles for me but when I try to execute ‘a’ it says “a is not recognized as an internal or external command”
@adnananjum91319 ай бұрын
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_game5186 ай бұрын
The code in the video are not right.. right code #include using namespace std; int main() { cout
@AtifAhmed-675 ай бұрын
Download Dev C++❤
@nadkoch8 ай бұрын
Спасибо, постоянно забываю что консоль можно открыть так.
@darkhunterrr-k9e Жыл бұрын
i followed exact same steps but i didnt go through. why is that so?
@RidanKhan931 Жыл бұрын
did you put return 0; ?
@darkhunterrr-k9e Жыл бұрын
yes i did . still don't know what to do.?!?@@RidanKhan931
@abdulmohaimin972911 ай бұрын
How did it work without return 0
@pabblo111 ай бұрын
Most compilers by default assume return 0.
@au._.793 ай бұрын
C++, by design, has an implicit return 0 in main function
@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
@adityaarya2 Жыл бұрын
@@coding-is-loveI have installed but it not recognising
@coding-is-love Жыл бұрын
@@adityaarya2 maybe the issue is environment variable.
@camwha5904 Жыл бұрын
Forgot the Dreamscape music lol
@ulasarslan25774 ай бұрын
But need a compiler g++ llvm-devel and others😅
@HassaanNonari8 ай бұрын
Where is return keyword for int function 😂
@drzahraa-oc5jl9 ай бұрын
I followed this step but the word doesn’t come it say error I don’t now why I am very confused and sad
@Hal0gen6 ай бұрын
you have to install gcc
@siddharthmeshram23711 ай бұрын
How about return 0 since it's int main()
@pabblo111 ай бұрын
Most compiler will automatically assume return 0.
@user-xxCATALONIA11 ай бұрын
Why explain quickly !!
@Lilyys11 ай бұрын
that window where you print the output. Mine is in dark mode. Is there a way to change it back to light mode?
@1223emerald4 ай бұрын
Yep, go to display settings. Its been 6 months so I guess you already found it