Jump to content
xisto Community
kvarnerexpress

Better Free C Compiler

Recommended Posts

I am trying to solve some strange problems - the problems are the sort where you have 2 different sets of code that do the exact same thing differently - but one solution works and the other produces strange results (very strange since the debugger shows they both do the same thing).Some problems of this nature remain and I think it has something to do with the compiler.I'm using gcc 3.3.4 right now, am working on installing 4.0.0 but I doubt it will help seeing how the only changes appear to be to C++ and java, not C.Is there a free compiler out there that better conforms to the standard? Particularly one that is known to work well with "complex" data? (i.e. _Complex double varName, complex.h - that sort of complex)?

Share this post


Link to post
Share on other sites

Yeah let us see the code cause we probably could fix it. gcc is one of the best and the only other option would be cc but most likely you would still get an error but it might be easier to figure out what it means. Basically, if you do not understand one error message, run a different compiler cause it might be more descriptive on that error.

Share this post


Link to post
Share on other sites

hi, i'm reasonably competent with c++, not a pro or anything though so if my advice isn't great or not quite what you're looking for please forgive me :D

anyway, have you tried dev c++? i have one version of it that seems to work reasonably well; it's a compiler/linker/IDE all rolled into one. personally i use Microsoft Visual C++ (which works pretty well for all my needs) but dev c++ is worth a look.

you can get it from http://www.bloodshed.net/.

good luck!

Share this post


Link to post
Share on other sites

gcc is one of the best if not the best one. Maybe you are not seeing anything. Post your code or use gdb to debug your code. I am quite sure that it is not a problem of the gcc making a bad interpreation of the C standard.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.