C/C++ Tutorial for Beginners - Install GNU (GCC/G++) Compiler Tools on Windows 10 - MinGW

preview_player
Показать описание
This is a beginners tutorial on How to Setup and Install GNU (GCC/G++) Compiler Tools on Windows 10 using MinGW. This tutorial will go through all the steps to successfully compile your First C/C++ program on Windows 10 using MinGW. This will help you get ready to start programming with C/C++ on Windows and help you start your journey on programming! The GNU Compiler Tools are a great free and set of tools that let you compile most GNU and Linux related projects, as well as, C/C++.

Ever want to create a C/C++ program? Well today you can start developing on Windows 10 by following the video tutorial. It can be intimidating getting your environment setup so that it can successfully compile code, but by following this video we'll go through things step-by-step and even go through how to compile your first "hello world" program. After you've successfully compiled this you're ready to go ahead and start creating you own C/C++ Programs!

My Linux Cheat Sheet and 25 Page Checklist here:

Share this free tool and support Small YouTubers
(I made this tool to help creators)

Useful Links/Commands:

#computers #programming #c++
Рекомендации по теме
Комментарии
Автор

Thanks for making this video. I used this compiler many years ago and since then I've forgotten how to use it. I downloaded it about a week ago and have been trying to relearn how to compile and run a program. I've looked through several websites but I don't believe they even knew what they were talking about. Now after watching your video I remember how to use it. Thanks again.

josephschrader
Автор

Oh my good goly I had no idea I actually needed the GUI to get it working my first time around... thank you!!!

crispydesires
Автор

the best step by step tutorial I've seen in a LONG time.

jeremiahwood
Автор

I can't explain how well made and helpful this video is, keep going with youtube! You make great content and this saved me so much time.

joe
Автор

Fabulous! Thank you for this tutorial. Compilers are expensive so nice this is free especially for students!

TomokoAbe_
Автор

Thanks for the tutorial, you saved me a lot of time an frustration, ...THANK YOU! :)

stevenbliss
Автор

Saved me valuable time, thank you ;)

dudimash
Автор

that was a perfect tutorial, thanks !

laurentgouzenes
Автор

yay another great video by you, Now all one need is to install vim(not gui one) in windows and bash

avishekpdsyouthoob
Автор

Sir you always impress me through your lessons .you are a gift for me from God .keep up

ousmanealamakaba
Автор

Why is my MinGW downloading the outdated version of GCC from 2016? When I run the update/upgrade commands, it is still the one from 2016.

DeadManProp
Автор

hey, if I am typing Desktop on command Prompt it says "'Desktop' is not recognized as an internal or external command,
operable program or batch file." what should I do?

sonysomedi
Автор

I notice that you have version 9.2.0, and mine which I had picked up before watching this video, is 6.3.0, how do I update my existing install to current? And the install video I watched before this, had me install fortran etc, (everything), how can I remove that if I will never program in those languages?

haroldmcbroom
Автор

Hlo sir, when i am runing a code in (visual studio code) which includes STL ( array, string)
That errors shows related to g++. But during simple programs it will work fine. What to do ? Please help me.

ajaychahal
Автор

I don't have linux (or cygwin) installed.. is there a version of xxd (or hexdump or cat) for the windows console?

For example, I found "CoreUtils for Windows" and GetGnuWin32 / GnuWin32 but they don't have xxd. I was going to try cmderdev / cmder or ConEmu next.

I've also read git for windows installs many gnu utilities (under program files, git, usr, bin), but not sure if that includes xxd.

My goal is to convert an ascii-hex file to pure binary.. will this work?
xxd -r -ps -input.txt output.binary

bennguyen
Автор

My antivirus detected my compiled Hello World C++ code as a virus... The installation passed, though..?

ItsSkyWasTaken
Автор

Thank you brother, and can you please update the link to download exe.

gursevaksingh
Автор

The problem is that this is 2 years old and everything is different. If you're new, look for a more recent tutorial, this will only confuse and frustrate you.

kimbaptempura
Автор

no setup in the extract file need another link for me to download it please

celestinballa
Автор

I didn’t know you could use gcc on Windows 😳

atharvatimsina