How to install MinGW w64 on Windows 10/11 [2023 Update] MinGW GNU Compiler | C & C++ Programming

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone I welcome you to my Channel  today I am going to show you how to install   Ming JW compiler on the Windows operating  system and then I am also going to show you   a simple hello world program on C language  so keep watching the video till the end so   that you will be able to learn about how to  install mingw and also you know you can start   programming in c language or C plus language as  well okay so please do subscribe our Channel and   please do like our video and also do share with  your friends so let's dive in into our video   so to download mean GW compiler you need to First  simply go to favorite browser either at this bar   you need to just simply search with mingw compiler  and you need to just simply hit enter and you'll   get this you know mingw minimalistic gionu for  Windows download simply just simply click on that   and it will going to redirect to this  sourceforce.net I am going to put this   link in the description so that you can directly  you know navigate to this site you can see it has   so many downloaded this week so it is totally  trustworthy you need to just simply click on   this download button and it's going to you know  start downloading within 5 Second okay sometimes   it might take some time like it you can see like  it again redirected so it will download yeah you   can see it is downloaded now so you need to click  on the setup of mingw let's minimize our download   directory okay so this is the installation wizard  we're going to just simply click on install   so this is where our Ming W is going to  be installed so on our C drive they're   going to create mingw everything is fine  you need to just simply click on continue   and you can see our download is progress so the  thing is you need to have an active internet   connection in order to you know to download all  the files so it is currently downloading it will   take some time so once it everything gets  download I'll come back to this video so you   can see all files and folders are downloaded  so we can just simply click on continue now   and once you click on continue it's going to show  this window so here you can see that we have all   these packages so you need to just simply select  each of them and click on Mark for installation   so just keep on doing that keep on you  know select and Mark for installation   and once you're done with all of this go  to installation and click on apply changes   so just you know simply click on apply and it's  going to again start you know downloading and you   know installing all these packages so again you  need to have active internet connection so this   process will take some time and about five  minutes I would say so let's wait turn up to   complete this process so once it's done I'll  I'll be again coming back yep so you can see   that our download is completed and it is currently  extracting so this extracting will take some time   so you can see that our extraction is you know  completed successfully so you can just simply   close this dialog and you can close this or you  can minimize this anything you can do so now that   you know our mean GW is ready installed it's  time to set up our environment variable so for   that you need to First simply go to your favorite  browser and in our C drive you need to go to this   mingw folder which you have created so just simply  go inside that folder and then you you will see   this bin folder so go inside bit folder and now  you need to click on this address bar then right   click and copy that's it basically now you can  simply minimize this and or click on the search   icon and here you need to just simply search with  you know Environ and you need to click on this you   know edit the system environment variable this  will open this system properties window here I   need to click on environment variables so we'll  get this you know environment variables window   over here so you need to click on path and then  you need to click on edit so this will open this   edit environment variable window here I need to  click on new and right click and base to that   path so remember that path we have you know  copied so mean GW slash bin so that part you   need to paste over here this is a very important  step guys you need to do this you know so that   our mean GW you know uh environment path gets  set properly okay this you need to do manually   so click on ok now again click on OK  again click on OK and now if you go   to you know the search icon and just type  over here CMD it will open command prompt and here if you just simply type G plus plus  space dash dash version and just simply hit   enter you can see that G plus plus that is mean GW  GCC version 6.3.01 is rightly installed okay so in   this way you can easily install mean GW on your  Windows operating system now I'm going to close   this I'm going to show you a simple you know hello  world program on C language and how to run that   so let's create a new folder and  just simply name it as see practice   okay and I'll just simply go inside that folder  and I'll just simply going to create a new text   document and I'm going to name it as hello world  and I am going to change this dot txt with DOT C   okay and I'm going to click outside and yes so you  need to change this extension first okay you can   use any text editor as well like Visual Studio or  you know notepad plus plus I have made a detailed   video on that on this channel you can just you  know simply find that link in the description not   a problem you need to change this extension just  simply right click and open with the notepad Okay   and here I'm going to write a simple hello world  program so hash include you know httio.h sorry   it will be dot h and in Main I am going to you  know open our parenthesis and I'm going to print   so printf hello world okay similarly if you wish  you can you know code in C plus plus as well so   you need to use that C plus plus syntax you'll  get the video as well on our Channel if you you   know want so here I have written a simple  letter c c program so has include hdio in   main printf hello world returns zero y returns  0 because we have declared int so we need to   return something so we are returning 0 if it's if  it's void then you don't need to return anything   since it's int you need to return 0 go to file  save this program now you need to click on this   address bar and type command prompt so what it  will do is it will open our Command Prompt right   at this directory C on our you know desktop it  has we have created DC practice so it is rightly   opened over here now to run an integer simply type  GCC and then your file name which is hello world.c   so hello world dot C and just simply hit enter and  you can see that our program is slightly compiled   so it has created this a DOT exe a DOT exe is  basically the generated file the output file   you can say so if you just simply you know type A  and hit enter you can see the output so whatever   you have written here you know the program the  output of that file will be you know stored on   that generated exe so here it is a DOT exe to run  you need to type that a and it will going to you   know show you the output okay and we use GCC and  then the file name dot your extension that is C in   order to compile any c program okay so that's you  know pretty much all about uh this video so I have   shown you how to install mingw and then I have  also shown you a simple hello world program on   C so now you can easily start you know practicing  your C programs okay so please do share with your   friends that will really help me to make more  such videos okay so please do share and don't   forget to subscribe our Channel and please press  the Bell button so that every time I post any new   video you get notified so thank you very much  for watching this video and God bless you all
Info
Channel: Geeky Script
Views: 379,657
Rating: undefined out of 5
Keywords: how to install mingw w64 on windows 11, mingw, how to install mingw, gcc, mingw 64 for windows 11, mingw w64 install windows 11, mingw visual studio code, codeblocks installer windows 10, how to install mingw w64 on windows, how to install mingw w64, gnu, install mingw, how to install mingw w64 on windows 10, mingw 64 for windows 10, c and c++ programming, c programming software for windows 11, c++ programming software for windows 10, mingw w64 install windows 10
Id: FEeFG9OR-QU
Channel Id: undefined
Length: 8min 18sec (498 seconds)
Published: Mon Jan 09 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.