Hacker News new | ask | show | jobs
by bitwize 806 days ago
One of the things I really like about the "hello, world" example in K&R is it's used as a template to show the reader what a complete, working (if bare minimum) C program looks like. All the relevant parts are labeled including the #include preprocessor directive, function definition, function call (to printf), etc. There are a few paragraphs explaining these parts in greater detail. Finally some explanation is provided about how one might compile and run this program, using Unix as an example (the authors are pretty biased toward that system).

This article is very much in that same friendly, explanatory spirit, although obviously it goes into greater depth and uses a modern system.

1 comments

> the authors are pretty biased toward that system

Thanks for the chuckle.