Help me to download a C++ compiler for my system | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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🥺

26th Jul 2021, 9:04 AM
Rishi
Rishi - avatar
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.
27th Jul 2021, 10:38 AM
Shiroyasha
Shiroyasha - avatar
+ 1
Arsenic I tried visual studio 2019 and code::blocks(32 bit version). Both didn't work :(
26th Jul 2021, 9:08 AM
Rishi
Rishi - avatar
+ 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
27th Jul 2021, 7:53 AM
Soham More
Soham More - avatar
+ 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
27th Jul 2021, 7:57 AM
Soham More
Soham More - avatar
+ 1
I had issues like that. Trust me. First learn Linux and then switch to Linux. It is very easier to setup your compiler.
27th Jul 2021, 9:56 AM
Mani_K_A
+ 1
Rishi download Visual Studio Installer From there, you can choose the workloads or components that you wish to download and install.
27th Jul 2021, 5:21 PM
CodeSmith
CodeSmith - avatar
+ 1
Download visual studio c++
28th Jul 2021, 6:55 AM
Anthony Dwomoh
Anthony Dwomoh - avatar
+ 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
28th Jul 2021, 8:32 AM
Caushios !
Caushios ! - avatar
+ 1
Yes please
4th Feb 2022, 3:19 PM
Anthony Dwomoh
Anthony Dwomoh - avatar
0
Which compiler are you trying to download ?
26th Jul 2021, 9:05 AM
Arsenic
Arsenic - avatar
0
Devcpp will work try it
26th Jul 2021, 9:14 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
A.S. but it's an old fashioned compiler, doesn't support many features
26th Jul 2021, 12:14 PM
Rishi
Rishi - avatar
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 :-)
26th Jul 2021, 2:34 PM
Rishi
Rishi - avatar
0
CodeBlocks is also a good IDE
26th Jul 2021, 4:21 PM
Sadra Shakouri
Sadra Shakouri - avatar
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.
26th Jul 2021, 6:15 PM
Jan
Jan - avatar
0
Shiroyasha But he only has a 32 bit system on his computer, then it doesn't make sense suggesting a 64 bit compiler.
27th Jul 2021, 11:01 AM
Jan
Jan - avatar
0
Quantum It's just called MingW64 but it supports both 32-bit and 64-bit computers.
27th Jul 2021, 11:13 AM
Shiroyasha
Shiroyasha - avatar
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.
27th Jul 2021, 11:26 AM
Jan
Jan - avatar
0
Rishi Take a look at this. It's supposed to be a pure 32 bit compiler. https://sourceforge.net/projects/mingw/files/
27th Jul 2021, 11:27 AM
Jan
Jan - avatar
0
Shiroyasha Have you tried to install the Mingw64 package on a pure 32 bit system, and did it work without conflicts?
27th Jul 2021, 12:38 PM
Jan
Jan - avatar