Ok /prog/, I've decided that I want to learn C, but I have no real clue where to start. It will be the first OO language that I actually learn all the way through actually, although I have had some experience playing with Python, Ruby, and a few other languages. What I really want to do eventually is get into basic game programming.
So what I need to know is, where should I start.
Which version of C should I use?
Any Helpful Tutorials?
Also, which editors/compilers does /prog/ recommend?
I use Notepad++ when I do HTML/PHP but that's about it.
Name:
Anonymous2008-01-01 12:12
It will be the first OO language that I actually learn all the way through
C isn't OO. Perhaps you mean C++?
Which version of C should I use?
ANSI C. It's the most interoperable and everybody knows it.
Also, which editors/compilers does /prog/ recommend?
Vim, GCC (MinGW, since you're on Windows). If you hate the Vi editing model, try Scite.
Name:
Anonymous2008-01-01 12:14
Get unix, get gcc and vim.
There are no versions, only standards.
There are 4 standards, C89 (ANSI), C90 (ISO), C95 and C99.
What you want to learn is C99, but to code in C89.
Kinda complicated, get K&R and the C99 standard and start reading.
When you are finished, start reading about algorithms, data structures, physics and mathematics, and then SDL & OpenGL/AL manuals.
Name:
Anonymous2008-01-01 12:15
Its 2008, nobody uses C anymore.
Name:
Anonymous2008-01-01 12:18
Knowing only the Scheme from SICP, I don't know a thing about classes. Will K&R enlighten me?
Knowing only the Scheme from SICP, I don't know a thing about classes. Will K&R enlighten me?
No, SICP does not teach Scheme and K&R does not teach programming.
K&R teaches the language C89.
>>4
Bullshit, but I think you weren't serious because it's the first day of 2008.. anyway
>>14
Are you fucking kidding me? After you said ``PDF sucks'' I was expecting PostScript or sometinh, but, BAM, HTML came crashing down like a god-damn meteor.
Name:
Anonymous2008-01-01 15:00
# Ooops! If x*y isn't 8, amb would
# get angry. You wouldn't like
# amb when it's angry.
amb if x*y != 8