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