View Full Version : C Compiler
04-08-2004, 08:49 PM
Can someone recommend a C compiler for windows with a link provided? Thanks.
04-08-2004, 09:19 PM
it's the sex. only good C/C++ IDE ive found to date. (even in my n00bness, i'd recomend you learn C++ first)
04-09-2004, 02:06 AM
Thanks, I just happened to pick the book up at a the library today and it was on C, so I'd figure I'd give it a shot. Maybe I'll take C++ when that book comes in.
04-09-2004, 02:26 AM
C++ is backwards compatible with C but there are some massive differences if you start with C++ and revert to C. C++ in my oppinion is a great place to start as well...
04-09-2004, 06:51 AM
Borland do a set of free tools including a compiler (all command line tools) , also think about getting Cygwin (http://www.cygwin.com) if you like to play with the command line, also google for ming.
04-09-2004, 05:07 PM
bloodshed DEV-c++ is an IDE for mingw, and borland tools are a pain to use seeing as it's command line.
what are you peeps fav compilers(commerical and free included)
I downloaded the bloodshed DEV-c++ compiler. And I just started a tutorial, but how do I view the results of what I do.. Like if i type :
cout<<"TEST TEST ";
into the compiler. I try pressing the run command, but nothing happens..
04-09-2004, 08:50 PM
thats because you have to compile the program before runing it :)
Execute->compile: compiles your code into computer code
Execute->Run: runs program, after it has been compiled
Execute->Compile and Run: ...
Execute->Rebuild all: will entirly recompile your project (normal compile doesn't always recompile all files)
Execute->Debug: debug your program
But all that happens when I run the program (after it has been compiled) is a command promt shows up for about 0.1 seconds.
I have no idea what Im talking about, but should't something show the result in some way...?
04-10-2004, 02:37 PM
That command prompt is showing up, printing out "TEST TEST" just like you programmed it to, and then closing because your program is finished. If you open a command prompt, and run the exe you built from there you'll see the "TEST TEST". Or you could add some code to make the program pause before it exits and see it when you run from the IDE as well.
04-11-2004, 11:32 AM
Yeah, typically most people use system("PAUSE") at the end of their main() (before return of course ;))..
04-19-2004, 03:48 AM
I'm not a fan of DevCPP. Although it's one of the only compilers I found that doesn't require a compiler to compile itself (chicken...egg loop). I always got lost with non-gui compilers. But DevCPP seems overbloated. Just to save a file, it wants me to give it a "project name" (total waste of time). And the real pain is that the CPP file cannot have the same name as the project name. So I find myself making random names for the CPP file since I wasted the meaningful name on the project name. All I wanted was to make a CPP file and compile it, while having the luxuries of syntax highlighting and col/row count. This and more can be found in Editplus (http://www.editplus.com). I'm no C expert but I prefer something that doesn't make me more confused than I already am. Errors such as "return value is not an int" in void functions is a total mess.
04-19-2004, 12:33 PM
devcpp isn't technicaly a compiler, its an IDE which uses the mingw compiler. for small projects it's true that its a pain to have to use projects(and MSVC++ is the same apparntly) but if your going to compile a small project just use mingw without going through devcpp. why is "return value is not an int" in void functions is a total mess? thats the compiler result not devcpp
on a sidenote, any cheapies want to compile with MSVC++
it's what borland free compiler is the borland C++ builder
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.