I'm fine working on Linux using gcc as my C compiler but would like a Windows solution. Any ideas? I've looked at Dev-C++ from Bloodshed but looking for more options.
Active5 months ago
Total download: 69031 in Android Messenger is a free social network application that lets you message your Facebook contacts easily and conveniently from your mobile device. Mar 31, 2017 Find the best free Android games, utilities, antivirus and applications at CNET Download.com, the Web's best guide to mobile apps. Android software free download. Soft32, a pioneer of downloads and reviews website, delivers up-to-date software, free downloads and reviews for Windows and more.
Free download C Compiler for Windows 10. Much awaited CPP COMPILER for WP Its a gcc 4.3.4 version c compiler.
Community♦
mario64mario64
73433 gold badges88 silver badges1111 bronze badges
closed as not constructive by Bo Persson, Eng.Fouad, Martijn Pieters♦, pmr, tchristSep 22 '12 at 14:00
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
22 Answers
You can use GCC on Windows by downloading MingW (discontinued) or its successor Mingw-w64.
BaseZen
7,24622 gold badges2323 silver badges4141 bronze badges
Ben HoffsteinBen Hoffstein
93.1k88 gold badges9797 silver badges116116 bronze badges
You can get Visual C++ Express Edition straight from Microsoft, if you want something targeting Win32. Otherwise MinGW or lcc, as suggested elsewhere.
Alex MAlex M
GCC is ubiquitous. It is trusted and well understood by thousands of folks across dozens of communities.
Visual Studio is perhaps the best IDE ever developed. It has a great compiler underneath it. But it is strictly Windows-only.
If you're just playing, get GCC --it's free. If you're concerned about multiple platfroms, it's GCC. If you're talking serious Windows development, get Visual Studio.
George Stocker♦
47k2929 gold badges159159 silver badges223223 bronze badges
Kevin LittleKevin Little
Free Download C Compiler For Windows
9,55644 gold badges3232 silver badges4646 bronze badges
UnkwnTechUnkwnTech
45.4k6161 gold badges172172 silver badges220220 bronze badges
There is another free C compiler for Windows: Pelles C.
Pelles C is a complete development kit for Windows and Windows Mobile. It contains among other things an optimizing C compiler, a macro assembler, a linker, a resource compiler, a message compiler, a make utility and install builders for both Windows and Windows Mobile. It also contains an integrated development environment (IDE) with project management, debugger, source code editor and resource editors for dialogs, menus, string tables, accelerator tables, bitmaps, icons, cursors, animated cursors, animation videos (AVI's without sound), versions and XP manifests.
URL: http://www.smorgasbordet.com/pellesc/
HideoHideo
I personally have been looking into using MinGW (what Bloodshed uses) with the Code Blocks IDE.
I am also considering using the Digital Mars C/C++ compiler.
Both seem to be well regarded.
Philip TinneyPhilip Tinney
You may try Code::Blocks, which is better IDE and comes with MinGW GCC! I have used it and its just too good a freeware IDE for C/C++.
yogeeshyogeesh
GCC is not technically a linux specific compiler. Its a standards compliant c/c++ compiler, and I use it for windows programs on a daily basis. Its probably best that you use it until you become more comfortable with something else.
I recommend that you use the MinGW distribution of GCC. That will compile your programs natively for windows, using a standard library, etc.
If you're looking for an IDE, I have two recommendations. Visual Studio is the Microsoft version, and although it has its issues, it is an excellent IDE for working with the code. However, if you're looking for something a bit more lightweight, CodeBlocks is also rather good, and has the added benefit of being able to use basically any compiler you have installed (including several forms of GCC and the Microsoft Compiler that comes with Visual Studio) and being able to open project files fro other IDEs. Plus, it runs on linux too, so you could make that transition even easier on yourself.
I personally prefer GCC, but that's just me. If you really want the Microsoft Solution, VS is the way to go.
Nicholas Flynt
4,0631010 gold badges4545 silver badges6767 bronze badges
MinGW would be a direct translation off gcc for windows, or you might want to check out LCC, vanilla c (more or less) with an IDE. Pelles C seems to be based off lcc and has a somewhat nicer IDE, though I haven't used it personally. Of course there is always the Express Edition of MSVC which is free, but that's your call.
mjardmjard
30122 gold badges66 silver badges1212 bronze badges
Most universities give you access to Microsoft Dreamspark.
If you're using GCC/Linux in class, just install Ubuntu. Windows is a terrible platform for C development.
Matt JoinerMatt Joiner
59.8k8080 gold badges298298 silver badges469469 bronze badges
Be careful to use a C compiler, not C++ if you're actually doing C. While most programs in C will work using a C++ compiler there are enough differences that there can be problems. I would agree with the people who suggest using gcc via cygwin.
EDIT: tloachtloach
http://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B shows some of the major differences
7,58311 gold badge3030 silver badges4343 bronze badges
GCC works fine. Note that MSVC is not necessarily a valid solution because it does not support C99.
Dark ShikariDark Shikari
7,27533 gold badges2323 silver badges3737 bronze badges
C C++ Compiler Windows 10MezMez
17k1313 gold badges6363 silver badges9090 bronze badges
I'm late to this party, but for any future C folks on Windows, Visual Studio targets C90 instead of C99, which is what you'd get on *nix. I am currently targeting C99 on Windows by using Sublime Text 2 in tandem with Cygwin.
John RuizJohn Ruiz
1,58822 gold badges1313 silver badges2929 bronze badges
Cygwin offers full GCC support on Windows; also, the free Microsoft Visual C++ Express Edition supports 'legacy' C projects just fine.
mdbmdb
45.8k99 gold badges6161 silver badges6262 bronze badges
There have been a few comments pointing out that C is not C++. While that's true, also true that any C++ compiler will also compile C - usually the compiler mode will be automatically selected based on the filename extension, but every compiler also has an option to force C or C++ mode regardless of the filename.
So choose the free C++ compiler that you're most comfortable with gcc, VC++ Express, Digital Mars, whatever. Use the IDE you like best emacs, vim, VC++ Express, Code::Blocks, Bloodshed - again whatever.
Any of these tools will be more than adequate for learning. Personally, since you're asking about Windows, I'd choose VC++ Express - it's a great IDE, it's free, and it'll compile C programs just fine.
Michael BurrMichael Burr
292k4141 gold badges456456 silver badges687687 bronze badges
Visual C++ Express is a fine and free IDE for Windows which comes with a compiler.
If you are more comfortable with commandline solutions in general and gcc in particular, MinGW or Cygwin might be more up you alley. They are also both free.
HankHank
1,90733 gold badges1515 silver badges1414 bronze badges
It comes down to what you're using in class.
If the labs and the assignments are in linux, then you probably want a MinGW solution. If they're in windows, get Visual Studio Express.
Joel CoehoornJoel Coehoorn
Download C Compiler For Windows 7 Ultimate 64 Bit
322k100100 gold badges510510 silver badges744744 bronze badges
Can't you get a free version of Visual Studio Student Addition from your school? Most Universities have programs to give free software to students.
Download C Compiler For Windows 10 FreeCharles GrahamCharles Graham
13.3k1313 gold badges3939 silver badges5656 bronze badges
Download C Compiler For Windows 7 64 Bit
You mean Bloodshed's Dev-C++? It's a nice visual IDE for C++ which uses MinGW's gcc for Windows as the back-the-scenes compiler. The project's been abandoned for a while (in my opinion, using Delphi to develop a C++ IDE is a very stupid thing to do to draw developers' attention), however there's nothing that stops you from using it and updating the version of MinGW's gcc it uses to the latest one - besides it's GPL-licensed.
Joe PinedaJoe Pineda
3,61233 gold badges2727 silver badges3838 bronze badges
I use either BloodShed's DEV C++, CygWin, or Visual C++ Express. All of which are free and work well. I have found that for me, DEV C++ worked the best and was the least quirky. Each compiler has it's own quirks and deifferences, you need to try out a few and find the one with which you are most comfortable. I also liked the fact that DEV C++ allowed me to change the fonts that are used in the editor. I like Proggy Programming fonts!
Michael BrownMichael Brown
1,96611 gold badge1515 silver badges3232 bronze badges
Must Windows C++ compilers will work.
Also, check out MinGW.
nsandersnsanders
9,44822 gold badges3434 silver badges4545 bronze badges
Not the answer you're looking for? Browse other questions tagged cwindowscompiler-construction or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |