What is the proper way to get a compiler for c/c++
What C compiler do you recommend for Windows?
mingw works flawlessly
More on reddit.comEasiest way to set up C compiler on Windows 10 (if you use Visual Studio Code)?
Installing c compiler on windows 10.
Videos
I'm somewhat new to c++, but have a fairly good understanding of programming in c++. I've created few 2d games too.
But I have few question regarding the c/c++ compiler. When I first try to download a compiler, I ended up downloading MSYS from mingw-64 website. But there are other sources too which kind of cofuses me to think why all of these exists. I need to know where this all begins, where is the original compiler published, why there is so many variants for the compiler. For example I can download it from mingw-64 and winlibs website. In mingw-64 website, there I have download msys, WSL or cygwin. Not a direct compiler. Even official GNU website have links to the other compilers. In winlibs website it also includes mingw-64 compiler and gcc and few other variants like ucrt runtime(posix, mcf), msvcrt(posix, mcf). (Then again what is posix and mcf) Can someone explain these stuff, what is the proper way get the compiler, what these other variants I've mentioned do and when to choose them.
At the end of the day I've no trouble editing some code using my code editor and compling for a simple program using compiler I downloaded from a random website. But I need to know exactly why and when to choose either of them.