View Full Version : LF: C compiler
GateGuardian
Sep 8th, 2007, 04:21 PM
Can anyone recommend me a good C compiler? I could used the one on the school's server, but I would have to upload the file ever time I run it.
d_jedi
Sep 8th, 2007, 06:31 PM
Visual C++ if you're on Windows (VC++ Express is a free download).. you get a good IDE, too. Downside is you need to be careful to put it in C mode (as opposed to C++) so you don't use any non-compatible language constructs.
gcc is pretty much the standard, afaik, on *nix. You can get it for Windows as well if you download cygwin.
Edit:I'd recommend you upload, compile and run your final code on the school server anyway.. just to make sure it runs fine there. C is supposed to be portable.. but that's not always the case (esp. when you're using libraries).
haveblue
Sep 8th, 2007, 06:41 PM
You could also just ssh into the schools server and write your code directly on it (vim, nano, any number of other command line editors). I assume if you have the ability to upload and compile that you'd also have ssh access?
d_jedi
Sep 8th, 2007, 06:46 PM
You could also just ssh into the schools server and write your code directly on it (vim, nano, any number of other command line editors). I assume if you have the ability to upload and compile that you'd also have ssh access?
Command line editors suck, IMHO.
haveblue
Sep 8th, 2007, 08:11 PM
They're not for larger projects obviously, but I'm assuming he's working on smaller programs for assignments or whatever. For small stuff like that I find command line editors to be fine.
GateGuardian
Sep 8th, 2007, 08:24 PM
I am using SSH right now, even to upload the files, I didn't know MS Visual C++ had a C mode.... i'll download it right now
fenrus
Sep 8th, 2007, 08:38 PM
cygwin, gcc
siriuskao
Sep 9th, 2007, 01:13 AM
You could also just ssh into the schools server and write your code directly on it (vim, nano, any number of other command line editors). I assume if you have the ability to upload and compile that you'd also have ssh access?
this would be the way I recommend as well. cli editors are not that scary
Jucius Maximus
Sep 9th, 2007, 12:40 PM
Free Compilers (http://www.thefreecountry.com/compilers/cpp.shtml)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.