Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to compile and run c++ programs using mingw
ChannelCode StackDescription from the creator
In this lecture we will learn how to compile and run c++ programs in mingw. for this we will use command promt . You must have to follow following instructions .
1: save your file in either .cpp or .c extension and all file types to all types in notepad during saving . it will not .txt file
2: if you are coding using c++ libraries like iostream then you have to use the following command for compile and run c++ program .
g++ file.cpp -o file.exe
file.exe
And if you are coding in c style then following command will work
gcc file.cpp -o file.exe
file.exe
1: save your file in either .cpp or .c extension and all file types to all types in notepad during saving . it will not .txt file
2: if you are coding using c++ libraries like iostream then you have to use the following command for compile and run c++ program .
g++ file.cpp -o file.exe
file.exe
And if you are coding in c style then following command will work
gcc file.cpp -o file.exe
file.exe
About this tutorial
Code Stack published this 13:25 video tutorial on November 10, 2018. It has been watched 17,980 times on YouTube.
- Channel
- Code Stack
- Category
- Education
- Duration
- 13:25
- Published
- November 10, 2018
- Views
- 17,980
- Likes
- 87
Tags
Share
This tutorial in other languages
- FRComment compiler et exécuter des programmes utilisant c ++ mingw
- ESCómo compilar y ejecutar programas en C ++ utilizando MinGW
- PTComo compilar e executar programas C ++ usando mingw
- ITCome compilare ed eseguire programmi C ++ usando MinGW
- DEWie kompilieren und ausführen c ++ Programme mingw mit
- NLHoe te compileren en uit te voeren c ++ programma's met behulp mingw
- RUКак скомпилировать и запустить программы C ++ с использованием MinGW
- PLJak skompilować i uruchomić programy C ++ przy użyciu MinGW
- JAどのようにmingwのを使用してコンパイルし、実行C ++プログラムへ
- ARكيفية تجميع وتشغيل ج ++ البرامج باستخدام مينغو
- HIकैसे संकलन और MinGW का उपयोग कर रन c ++ प्रोग्राम के लिए
- IDBagaimana untuk mengkompilasi dan menjalankan c ++ program menggunakan mingw