How to compile and run C++ Cpp program file in cmd

Опубликовано: 14 Июнь 2022
на канале: Dabananda Mitra
103
0

Hello viewers,
In this video I will show you how to compile and run c++ cpp program file in cmd with command line in windows operating system. So watch the full video and stay tuned.

If you like the video please inspire me by like the video, subscribing and commenting on this video.
Thank you.




Command to compile and run c++ program:

g++ -o program program.cpp

g++ is the name of the compiler and -o is the option needed for creating a .o file. Program (without .cpp suffix) is the exe file and program.cpp is your source file that you want to compile.

** Here "program" in the command line should be your program file name.




Here is a stack overflow link to find more information about it:
https://stackoverflow.com/questions/1...




Find me on

Facebook:   / dabananda.mitra.98  
Instagram:   / dabananda  
Twitter:   / dabanandamitra  
LinkedIn:   / dabanandamitra  
Blog: https://dabananda.blogspot.com


Смотрите видео How to compile and run C++ Cpp program file in cmd онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dabananda Mitra 14 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 103 раз и оно понравилось 0 людям.