Question:
Does anyone know where i can get a compiler for c++?
Lo K
2009-12-24 11:23:56 UTC
im trying to lear c++
the book im reading suggests to get one online i installed MinGW but i dont undertand how to work it does anyone know where i can get one or point me in the right direction. Thanks for your time and anyhelp is appreciated
Five answers:
oops
2009-12-24 11:42:20 UTC
Visual c++ express.

http://www.microsoft.com/Express/VC/
r0cKsTaR
2009-12-24 13:00:31 UTC
Like someone mentioned, there is more than one right direction. However I would suggest that you use MinGW compiler because the code examples in your book are most probably tested with MinGW.



As for working with MinGW compiler, I highly recommend that you get Code::Blocks IDE (http://www.codeblocks.org). CodeBlocks website has a download that comes pre-packaged with MinGW and basically you can expect everything to work right out of the box. As an added bonus, the CodeBlocks IDE has many nice features like syntax highlighting, auto-completion, etc and you can build/compile/run from the IDE.



Oh and its all open-source :)
husoski
2009-12-24 12:41:26 UTC
There are multiple "right" directions to go in. I'm assuming from the MinGW remark that you are running Windows. MinGW and Cygwin are both Unix-like environments that run under Windows. Either one will get you a command-line interface (with MinGW to get this you have to also install MSYS), which is good enough for a start, provided you have a decent text editor. Either one can let you compile and run programs from the CMD.EXE Windows shell (aka "Command Prompt"), or launch a Linux/Unix compatible shell environment.



To get started quickly, using MinGW and the Windows command prompt, see:



http://www.mingw.org/wiki/MinGWforFirstTimeUsers



If you don't plan to develop Linux, Unix or MacOS (built on top of a Unix undercarriage as of OSX), the Windows is probably your environment. The main tool for Windows development is Microsoft's Visual Studio .NET family. Free single-compiler subsets (including one for C and C++, which use the same compiler) are available for download as Express Editions. You can see everything available on their download page:



http://www.microsoft.com/express/download/
2009-12-24 11:33:19 UTC
Get visual c++ 2008 express edition. It's free.
Jhered
2009-12-24 12:13:36 UTC
Eclipse


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...