Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Help with starting C Programming

Name: Anonymous 2008-01-01 12:02

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: Anonymous 2008-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.

Any Helpful Tutorials?
The C Programming Language. Learn from the best.
http://www.amazon.com/dp/0131103709

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: Anonymous 2008-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: Anonymous 2008-01-01 12:15

Its 2008, nobody uses C anymore.

Name: Anonymous 2008-01-01 12:18

Knowing only the Scheme from SICP, I don't know a thing about classes. Will K&R enlighten me?

Name: Anonymous 2008-01-01 12:19

>>5
C doesn't have classes because C isn't OO.

Name: Anonymous 2008-01-01 12:20

Knowing only the BBCode from 4chan, I don't know a thing about classes. Will Master Kernighan enlighten me?

Name: Anonymous 2008-01-01 12:39

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

Name: Anonymous 2008-01-01 12:58

>>6
Haskell has classes, amirite?

Name: Anonymous 2008-01-01 13:13

>>9
Typeclasses, yeah. They have nothing to do with OO classes, though.

Name: Anonymous 2008-01-01 13:18

OP Here, thanks for all the help, anyone got an ebook version of the above listed book?

I meant C and not C++, I thought C was OO though.

>>4

I know several people who still use C to write scripts. Also, isn't the fucking linux kernal written entirely in C?

Thanks /prog/

Name: Anonymous 2008-01-01 13:24

>>11
Pretty much every OS ``kernal'' is written in C.

Name: Anonymous 2008-01-01 13:30

Name: Anonymous 2008-01-01 13:37

PDF sucks for ebooks, so here's K&R in HTML.

http://www.mediafire.com/?4dzuux9ze3m

Name: Anonymous 2008-01-01 13:43

MOTHERFUCKER, I NEED YOU TO BE A REASONED SCHEMER

Name: Anonymous 2008-01-01 13:50

>>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: Anonymous 2008-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

Name: Anonymous 2009-03-18 3:03

I feel the need, the need for weed!

Marijuana MUST be legalized.

Name: Anonymous 2010-11-25 19:15

Name: Anonymous 2010-12-17 1:27

Xarn is a bad boyfriend

Don't change these.
Name: Email:
Entire Thread Thread List