Learning C
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
I've been doing high level stuff for the last two years (I had a few years where I just didn't code anything, I was terrible at time management) and feel like getting down and dirty with gcc again. Problem is, it's like learning another language from scratch.
I've been looking around for some good tutorials, and found a few (this is okay, but really outdated) and worked through them, but I'm wondering if you guys know any good things to read when I get stuck besides straight documentation.
I'm one for teaching myself, but I figured I'd save time asking around for some resources rather than stabbing in the dark. Usually I learn the basics of a language by working with a game that I can mod, so I can have a tangible difference in what I'm doing, and then pick up a minimal framework (for lua, love, for flash, flixel) I doubt the same flow is going to apply for this (apart from the end step, which is likely going to involve C + GLib)
That's what I'm geared towards learning, I'm rusty as anything with the whole language, so if anything pops to mind (from basic syntax to implementation examples of xyz to small, useful libs) I'd appreciate the links.
"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Retrofuturist
- Posts: 3131
- Joined: 2008.09.19 (06:55)
- MBTI Type: ENTP
- Location: California, USA
- Contact:
Otherwise, I actually can't remember how I learned C in the first place, although I do use it extensively at work.
Actually, come to think of it, it might have come from my learning C++. There's a great book on C++ that's freely available online by Bruce Eckel called Thinking in C++ (I'm too lazy to track down the link at the moment), and you can think of C as C++, minus object-orientation and namespaces.
Although if you can force yourself through something boring, you could always just sit down and read through the GNU C Library Documentation. It'd probably take you two read-throughs overall, since understanding some earlier parts undoubtedly relies on concepts described later in the documentation, but you'd come out a wizard.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Albany, New York
- Posts: 526
- Joined: 2008.09.26 (05:41)
- NUMA Profile: http://nmaps.net/user/cucumber_boy
- Steam: www.steamcommunity.com/id/
- MBTI Type: ESTP
- Location: Southern California, USA
- Contact:
~~Quotes~~
golfkid - "I beat kk on his map, and he got me within 6 seconds, then I did it again and he beat me in 12 seconds."
blue_tetris - "kkstrong was nothing, alot of people stood in his way, and he just fought against adversity, he learned he lived, and he was admin at nmaps.net for a while. He is a great mapper, and ya know, thats why he is on the short list for the mod pick."
Pheidi -" Despite a mapper's best efforts, highscorers will always find a way to defy his intentions."
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Beyond a Perfect Math Score
- Posts: 829
- Joined: 2008.09.25 (21:35)
- Location: England
- Contact:
Best. Mental image. Ever.kkstrong wrote:He also referred to them as black belt coding ninjas from time to time.
Who is online
Users browsing this forum: No registered users and 4 guests