I am so smart S-M-R-T, I mean S-M-A-R-T

Oct 20, 2006 07:43

So I've decided that I need to learn some C. I'm not exactly sure where I should start. C++ seems to be the way to go since it is inherently object oriented, but I really have no idea where to start with compilers. I'd prefer something free. If any of you have any recommendations, I'm listening.

Leave a comment

Comments 9

gorgonous October 20 2006, 15:56:33 UTC
gcc is installed on pretty much all Linux machines, and it's free.

gcc -o myprog myprog.c

Reply

bigj October 20 2006, 18:30:29 UTC
gcc represent.

When I was in CCC I did my homework in gcc.

Reply


muerte October 20 2006, 21:02:07 UTC
I don't see any reason to use anything EXCEPT gcc these days.

Reply


shades3d October 21 2006, 01:01:28 UTC
What they said. If you prefer to code on windows, there's a program called dev-C++ which is an IDE for quite a few languages, including c and c++ using mingw and gcc for its backend.

I'd start with c, since c++ is c with some added OOP on top. Most C++ books will start you in c anyway with the last few chapters reading "Branching from C to C++ and OOP" or something similar.

Reply


How come C? wbell539 October 21 2006, 16:54:34 UTC
You didn't say why you need to learn "some C" and you said you have no experience of compilers but you are interested in object technology so I'm going to suggest an alternative.

It's object oriented and a _lot_ easier to learn, yet it supports some extremely advanced programming paradigms in much more obvious ways than C++. In fact, many of the people that work with it are regarded as amongst the world's best. (You can leave me out of that august group, incidentally.) You can do almost anything in it that you can do in C and you can do it in many fewer lines of code, and those lines will be easier to maintain if you need to. It works of most of the world's operating systems. It's free.

It's Python.

Reply

Re: How come C? davidfrey October 22 2006, 05:37:13 UTC
What are you a closet Python bot? Thanks for the over-zealous plug, but I've already done the Python thing. C is merely a formality.

Reply

Re: How come C? wbell539 October 23 2006, 16:38:20 UTC
Are you normally this rude?

Reply

Re: How come C? bigj October 23 2006, 17:49:03 UTC
I can see why he would think you are a bot. You have no public posts and nothing in our user info.

Reply


Leave a comment

Up