How to run C++ program in command prompt

preview_player
Показать описание
Writing a hello world program in C++ language and compiling and executing it using Command Prompt (CMD)

#cmd #howto #C++ #c++programming #programming
#shorts #youtubeshorts #shortsvideo #beginner
Рекомендации по теме
Комментарии
Автор

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

robertchoate
Автор

Спасибо, постоянно забываю что консоль можно открыть так.

nadkoch
Автор

Naughty Naughty I gave you a thumbs up, but you should never namespace STD.

TheTimeProphet
Автор

But need a compiler g++ llvm-devel and others😅

ulasarslan
Автор

it compiles for me but when I try to execute ‘a’ it says “a is not recognized as an internal or external command”

jakeelunker
Автор

Where is return keyword for int function 😂

HassaanNonari
Автор

G++ is giving issues it's saying that it is not recognized as internal external command

just_the__facts
Автор

i followed exact same steps but i didnt go through.
why is that so?

cvwsnud
Автор

that window where you print the output. Mine is in dark mode. Is there a way to change it back to light mode?

Lilyys
Автор

How about return 0 since it's int main()

siddharthmeshram
Автор

I followed this step but the word doesn’t come it say error I don’t now why I am very confused and sad

drzahraa-ocjl