Re: Learning process
From: Joona I Palaste (palaste_at_cc.helsinki.fi)
Date: 3 Jan 2004 13:19:42 GMT
Karsten Kvistad <karsten-k.broadpark@no> scribbled the following:
> I'm currently teaching myself the C programming language. The problem is
> I don't know what to do next. I know file I/O, pointers, functions and
> the like. I do not know how to make .h files, Makefiles or anything else
> required for large projects. Should I learn how to do this, sockets,
> GTK, curses or what?
Well, .h files are syntactically identical to .c files. The only thing
that is usually different is that .h files should not contain any actual
executable code, only definitions.
Makefiles are not really a C concept. Make is a tool for compiling or
building just about anything. I've used it to make LaTeX documents. You
don't have to use make to compile C. Especially single source file
programs can be compiled just fine with one compiler call.
If I were you I'd look into .h files and makefiles first. Sockets, GTK
and curses are not part of C, they're platform-specific add-ons. It's
important to understand the language itself before tackling those.
-- /-- Joona Palaste (email@example.com) ------------- Finland --------\ \-- http://www.helsinki.fi/~palaste --------------------- rules! --------/ "I am lying." - Anon