+ 1
Help me to download a C++ compiler for my system
Actually I'm trying to download a C++ compiler for my compiler but I wasn't able to do it easily. I have a 32 bit windows 10 OS which makes it harder. So please help me🥺
38 Answers
+ 3
Just download MingW64 compiler and set the PATH in your environment variables to the folder where the executable file is. It compiles both C and C++ files.
Afterwards, you can just download VS Code and download the C/C++ extension from the Extensions tab in VS Code
If you don't want to use VS Code or go through the hassle of downloading MingW64 and setting it up, you can just download Dev-C++, it requires no prequisites. Just download it and install and you are good to go.
+ 1
Arsenic I tried visual studio 2019 and code::blocks(32 bit version). Both didn't work :(
+ 1
If your PC is old/low spec, then download CodeBlocks latest version (with MingW Compiler), last time I checked it ran like butter on my 15 year old pc running windows XP(32 bit)
If your PC is pretty good, then download Visual Studio latest version (2019), it's great for C++ and has really good debugging tools.
For both options it's better to see tutorials on YouTube on how to set it up
+ 1
Rishi As far as remember, I just downloaded vs_Community.exe and just followed the steps. I think your windows version/.Net version/PC doesn't support it. try downloading vs 2013 or 2015 / CodeBlocks
+ 1
I had issues like that.
Trust me.
First learn Linux and then switch to Linux.
It is very easier to setup your compiler.
+ 1
Rishi download Visual Studio Installer From there, you can choose the workloads or components that you wish to download and install.
+ 1
Download visual studio c++
+ 1
I use 'dev c++' it is easy and low in size. but if you want a compiler with soo many function download visual studio and select development with c++ to install but the download size is 1.7 gb
+ 1
Yes please
0
Which compiler are you trying to download ?
0
Devcpp will work try it
0
A.S. but it's an old fashioned compiler, doesn't support many features
0
Angelo and Martin Taylor , yeah I wrote it wrong, I meant visual studio. It didn't work. I'll try the one you suggested, Martin Taylor. I'll let you know after i tried :-)
0
CodeBlocks is also a good IDE
0
Martin Taylor It's not necessary to create projects in Code::Blocks. When I used it, I just created a new file, saved it, and then I could write and compile code.
0
Shiroyasha But he only has a 32 bit system on his computer, then it doesn't make sense suggesting a 64 bit compiler.
0
Quantum It's just called MingW64 but it supports both 32-bit and 64-bit computers.
0
Shiroyasha Yes, but it means you can compile 32 bit programs on a 64 bit system. He only has a pure 32 bit system.
0
Rishi Take a look at this. It's supposed to be a pure 32 bit compiler.
https://sourceforge.net/projects/mingw/files/
0
Shiroyasha Have you tried to install the Mingw64 package on a pure 32 bit system, and did it work without conflicts?