> I want to learn c and have a couple questions I hope you can answer. I
> am wondering what a good and cheap/free complier for the c langauge
> is.
gcc from gnu.org. Normally installed automatically when you install a Linux
distro.
Check out mingw32 if you're using Windoze.
> Also if you have any books about c you recommend. I am also
> wondering if I would be better off just learning c++ instead.
> Your Help IS Much appreciated.
Either way. Most Linux apps are C. C++ is much better, but it takes a couple
years to get used to it. I can't recommend any books, though. I use the
original Kernighan & Ritchie for C, and the original Stroustrop book for C++.
--
[X] Check here to always trust content from Linųnut
Well the former probably works OK for most current compilers with a K&R
mode but the latter (if you really mean the original 1st edition) is so
far from modern C++ as to be close to useless.
--
Francis Glassborow ACCU
Author of 'You Can Do It!' see http://www.spellen.org/youcandoit
For project ideas and contributions: http://www.spellen.org/youcandoit/projects
http://www.cs.virginia.edu/~lcc-win32
It is a C compiler with some useful extensions. There is a
tutorial for the compiler available for free at the same
address.
It comes with a windowed debugger, a resource editor,
an a sophisticated IDE.
I would avoid C++, but if you insist, you can use MSVC.
Microsoft has improved a lot their compilers, and they
beat most other implementations.
>partof...@gmail.com wrote:
>> I want to learn c and have a couple questions I hope you can answer. I
>> am wondering what a good and cheap/free complier for the c langauge
>> is. Also if you have any books about c you recommend. I am also
>> wondering if I would be better off just learning c++ instead.
>> Your Help IS Much appreciated.
>> partofme1337
>You can download lcc-win32 from
>
>http://www.cs.virginia.edu/~lcc-win32
>
>It is a C compiler with some useful extensions.
Stop lying! lcc-win32 is NOT a C compiler by *any* accepted definition
of the C language (K&R, C89, C99) *even* when invoked in its so called
conforming mode.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Dan...@ifh.de
Currently looking for a job in the European Union
Borland has a free C compiler available. It is included in a package called
freecommandlinetools.exe (Just Google for the URL)
Inside this package is Borland's BCC5.5 C compiler + other tools.
BTW, this compiler is used as the basis of the new language called Extended
Harbour (xHarbour). The language is a 32-bit vastly extended version of the
database language called Clipper which itself was an outgrowth of DBASE III
Plus.
Anyway, xHarbour is an exploding powerful language. Users of xHarbour
compile their app code into 'C' code (using xHarbour), then run BCC55 on *this*
code to produce .obj files, then link the objects to obtain a powerful and fast
and modern application. The app can be console-based or (with new available
GUI's) Windows-based.
Right now, I'm re-building and windowizing an old TimeSheet system using
xHarbour and a new free GUI library called GTWVW).
The apps you make can do *anything* (almost :)) )
Feel 'free' to visit www.xharbour.org to get a better understanding of my
post.
-Mel Smith