Sunday, July 12, 2009

Is there a good free C++ compiler?

I'm a college student and I need to write C++ programs. I downloaded Visual C++ 2005 express edition. It runs the code, but if there is an error it does not tell me at which line the error is or what kind of error it is. This makes it very difficult to debug my programs. Does anyone know of a better C++ compiler that is either free or inexpensive?

Is there a good free C++ compiler?
if you r using vc++.... then it will tell u the errors in the code.


open the task list and output widows errors are seen over there.
Reply:Try gcc ( GNU C Compiler) or g++ for C++, you can download Dev C++ IDE, it comes with C++ compiler. I've not used VS C++.Net yet, but my experience with C# is pretty good. If you have Visual Studio.NET 2005 (should be able to get it cheap if you are student), you should produce syntax-error-free codes, because the IDE will spot the error place for you before you compile
Reply:Try gcc ( GNU C Compiler) or g++ for C++, you can download Dev C++ IDE, it comes with C++ compiler. I've not used VS C++.Net yet, but my experience with C# is pretty good. If you have Visual Studio.NET 2005 (should be able to get it cheap if you are student), you should produce syntax-error-free codes, because the IDE will spot the error place for you before you compile


What is your favorite C compiler?

I've been programming for 7 years now, and I'm finally forced to learn C. I'm wondering what you thing is the best C compiler out there.

What is your favorite C compiler?
I've been programming for 20+ years in C/C++, mainly with Borland and MS compilers. But my favorite is GCC (Gnu Compilers Collection). Borland and MS give you nice IDE's but you can use wide range of IDE's also with GCC: for *NIX you can use e.g. kdevelop or emacs. For Windows - also emacs for Windows or MinGW studio:


http://freshmeat.net/projects/mingw-devs...


Some people like DevC++ as an IDE for gcc...


In short: you have a choice :-)
Reply:The free gnu compiler gcc (http://gcc.gnu.org/) is released GPL (free open source). It is a very high quality compiler, flexible, standards based. It does not come with a development environment though some are available (emacs, for one). It also has a great debugger.





IDEs are nice, but I suggest learning to program without one. You end up understanding the language better.
Reply:For a totally integrated environment and ease of use -- no question, Visual C++ (yes, it does C as well).


For code generation (on PCs): Intel's free compiler. It makes tight, highly optimized code that doesn't need nearly as much tweaking as Microsoft's does.
Reply:I use a remote for all my programming. Just have to change the battery now and again and aim it in the right direction - works every time. Recommended.

bloom

Do anyone know the fix to Bloodshed Dev C++ compiler for a notebook that runs Windows Vista home basic?

I have a dell notebook that runs vista home basics and i want to use the compiler application "Bloodshed Dev C++ compiler"


however my program will not compile

Do anyone know the fix to Bloodshed Dev C++ compiler for a notebook that runs Windows Vista home basic?
It should work, that is what I use currently. Was the install bad?





Were there compiling errors when trying to compile?


I am interested in learning C, but I dont have a good, free C compiler. Do you know of one?

I'm a novice concerning Command Prompt, and not well versed in techie lingo was therefore effectively rendered completely baffled when I found a seemingly good C compiler that was called Digital Mars C/C++ Compiler 8.47. (I couldn't understand how to compile a program even after reading the readme) Do you know how to use this compiler or do you know of a compiler that is easy-to-use and is free? Thanks in advance

I am interested in learning C, but I dont have a good, free C compiler. Do you know of one?
%26gt; I'm a novice concerning Command Prompt, and not well versed in techie lingo





Then you'll have to work to change that. You can't say you want to get into C, without making any effort to increase your knowledge. Sorry, doesn't work that way.





%26gt; Do you know how to use this compiler





Detailed in the readme. If you don't understand what the readme is saying, try Google first, and then ask a question regarding it. But in general (regardless of compiler), the process is to type your code up in plain text. Save it as a file. Then on the command line call the compiler, with the file as an argument. The exact arguments you pass in are detailed in the compiler documentation.





%26gt; do you know of a compiler that is easy-to-use and is free





Visual C++ Express. (It compiles C code as well). Also, MingW (windows port of gcc). Perhaps you want an IDE? IDEs provide an environment where you can type in code and with a click have it compiled. I use Code::Blocks. If you have the money, you can get Visual Studio. wxDev-C++ is also an option.
Reply:Go with Microsoft Visual C++ Express, you don't have to use the command line. You get a much more intuitive interface that's driven towards creating software, not learning commands to throw at the compiler.
Reply:The favourite of many C programmers around the world is Turbo C++. Also very popular is the Borland Compiler.


Both these compilers are difficult to configure before use, but Borland can be done with much ease when instruction from this site are followed.


http://csjava.occ.cccd.edu/~gilberts/bcc...


To compile a program in TC, save the source Code with the appropriate extension(.c for C and .cpp for C++) and hit Ctrl+F9. That's it.


To do the same with Borland C++, you have to save the file with the extension and then click tools%26gt;build. An .exe file with the same name is created in the same folder as the source code(the original program), which when double-clicked runs the program.
Reply:I've always like Dev-C++. You can get it here:





http://bloodshed.net/dev/devcpp.html





The entry titled:


Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2


Should have everything you need to edit and compile source code in C, and C++ for that matter.


Which is the the best c compiler?

Hi!


Plz, tell me which is best compiler for making c programs for the successors of Win98, performance is the major option.


Thank you,


Parv

Which is the the best c compiler?
What do you mean by 'best'? Visual Studio is good, but even its release builds contain more code than the average C compiler generates. It does optimize very well though. It also generates excellent debug builds. I haven't really used any of the other compilers, but they would all probably work fine, and depending on what you are doing it probably won't matter, as any extra performance will be too small to measure.
Reply:Vstudio


Looking for a C++ compiler?

im reading same teach yourself C ++ in 21 day my problem is i need a c++ compiler so i can do the activities

Looking for a C++ compiler?
sudo apt-get install g++
Reply:Borland is probably the easiest to use.


Watcom has always produced executables that are smaller and faster than other compilers.


The gnu compiler is the standard compiler these days.


You can get any of them for free, following the links on the page below.
Reply:The best for free one for Windows is bloodshed's Dev-C++


http://www.bloodshed.net/dev/devcpp.html





Visual C++ 2005/2008 is also free but is slightly a different language then say VC++6/7 - but the IDE is free





http://msdn2.microsoft.com/en-us/express...





If that doesn't suit your needs, then pick one from this free list.


http://www.thefreecountry.com/compilers/...





I believe GCC has to be run in cygwin for it to work in windows.
Reply:try to get borland c++ compiler, which is based on dos...


or you can get dev C++ compiler, which is a windows IDE for free...


try www.download.com...


all the best
Reply:download the program from the site. easy things!

dogwood

What is the most popular C++ compiler and linker used in the programming industry today?

I want to learn C++ but I don't want to learn on a compiler or linker that is not commonly used such as Borland. Any tips?

What is the most popular C++ compiler and linker used in the programming industry today?
Well, the compiler that industries use is of cause Visual Studio from Microsoft. Microsoft offers free Express edition for personal and student use.
Reply:Visual C++ by MS is the most common. Borland C++ builder is what I learned on, and it was a bad idea. Too much proprietary junk, since it is really writing in Pascal in the background.
Reply:In terms of industry, the short answer is Visual C++ on Windows and GCC on linux/unix/OSX.
Reply:Codewarrior.
Reply:use devcpp compiler.... it is vry easy to use.