kvarnerexpress 0 Report post Posted July 7, 2005 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
dexter 0 Report post Posted July 7, 2005 Can we see the code or a similar example that's broken? Share this post Link to post Share on other sites
fffanatics 0 Report post Posted July 8, 2005 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
switch 0 Report post Posted July 20, 2005 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 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
mizako 0 Report post Posted July 21, 2005 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