Good C sites?

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Just wondering if anyone knows of any good sites with C tutorials that take a more "learn by doing" approach?

Seems to me like most books/tutorials always assume their readers barely know anything about computers, not to mention about variables, constants, int/float/double/etc and so forth.
So they pretty much spend 2/3 of the tutorial going over that while writing "Hello world" in 20 different ways.

I'm looking for something that moves along a bit faster.

Kinda like the difference between being hand held by Mandrake as opposed to getting dirty with Debian/Slackware right away when learning how to use Linux.
I started my Linux journey with Slackware, so, are there any good equivalents in the C programming world? :)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
All I can say is that understanding pointers, arrays, and memory was by far the hardest thing for me. For some reason this page made it "click" for me all of a sudden, so I bookmarked it for all eternity. :)
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Originally posted by: BingBongWongFooey
All I can say is that understanding pointers, arrays, and memory was by far the hardest thing for me. For some reason this page made it "click" for me all of a sudden, so I bookmarked it for all eternity. :)

Yeah, I was in a class once, the teacher kicked major ass, however most of the students didn't.
He explained pointers to me and two other guys fairly well.

Unfortunately the class was full of nurses/carpenters/whatever who had all of a sudden decided to become programmers because they heard you could make big money being a programmer(in the beginning of the IT boom).

And even more unfortunately, few of them could tell the difference between a computer and a television.
Made the whole damn class suck because it went so slow while the teacher desperately tried to explain basic terminology to them. :roll:
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Other than that, I read some of k&r, did some of the exercises in there, and have just read tons and tons of C while trying to inspect/hack/fix/modify various apps. I guess I never really wrote any significant C before I did so with C++, and I learned most C-isms alongside C++, and now can write C. :)

Oh another thing I did a while after going through some of k&r was to try and write linked lists and managed arrays (I'm not sure what else to call them; basically a C++ vector) in C (and functions to do various useful things to/with them). I think that helped me a lot with understanding pointers and whatnot. Write write write!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Sunner
Originally posted by: BingBongWongFooey
All I can say is that understanding pointers, arrays, and memory was by far the hardest thing for me. For some reason this page made it "click" for me all of a sudden, so I bookmarked it for all eternity. :)

Yeah, I was in a class once, the teacher kicked major ass, however most of the students didn't.
He explained pointers to me and two other guys fairly well.

Unfortunately the class was full of nurses/carpenters/whatever who had all of a sudden decided to become programmers because they heard you could make big money being a programmer(in the beginning of the IT boom).

And even more unfortunately, few of them could tell the difference between a computer and a television.
Made the whole damn class suck because it went so slow while the teacher desperately tried to explain basic terminology to them. :roll:

The C instructor I had was from the middle east (not a problem), and I couldn't understnad a word he said (big problem). Still managed to get an A in the class.

My Ada professor was former military, and had a monotone voice that put me to sleep. It's not a surprise I remember almost nothing from those classes. :p
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Originally posted by: beyonddc
cprogramming.com

I go there a lot just when I first learning c and c++.

I checked that site out earlier, seems like the vast majority of their stuff focuses on C++ rather than C.
That's actually the major problem, finding C++ stuff isn't much of a problem, the net is full of it, C stuff is far more scarce though :(