I was very new to C and programming in general. I was wondering what compiler i should download and where should i download it from?
Thank you
I was very new to C and programming in general. I was wondering what compiler i should download and where should i download it from?
Thank you
There is an FAQ for that under the FAQ entry in the menu at the top (well, a bit down from the very TOP) of this page.
The choice would be slightly dependant on what environment you have at your school - Linux/Unix or Windows, and what compiler your school is using.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Hi!
<< !! Posting Code? Read this First !! >>
Cprogramming.com: How to Get Started with C++
Cprogramming.com - Programming Tutorials: C++ Made Easy and C Made Easy
Cprogramming.com: FAQ
C Book Recommendations
C++ Book Recommendations - C Board
C/C++ Reference
cplusplus.com - The C++ Resources Network
well i know we are using windows at uni and we type cc CODENAME so the compiler must be cc or something im not sure.
btw rob we are only learning C not C++. its an engineering course and this is the only programming unit that we are ever going to study so i just want to get it over and done with.
Well, cc is the standard Unix command for the "standard" C compiler. Quite often you'll find that this actually turns into a "gcc" for example through a symbolic link or a shell-script - but there are compilers called "cc" in some places - I think the Solaris compiler is called cc.
In Windows, I haven't seen a compiler actually called cc - but it's quite possible to create such a thing by either using a batch-file, a executable that just calls the "proper name" using CreateProcess()/ShellExecute()/system()/execve() or simply renaming the original file-name.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
sorry my mistake just found out that it is actually unix. probably gcc???
gcc is most likely the "most similar" compiler you can get for free, if you are using a Unix type system.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
GCC is also available under Windows. You can get a nice Integrated Development Environment that uses GCC by getting Dev-C++: http://bloodshed.net/devcpp.html
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.