PS I synthesize here in my own words what K&R teach, re-write all their example programs, character by character, solve all the C exercises they hand out. I comment to what K&R teach cursively. I do not copy-paste anything from the book! In regards to the percentages listed: books often have prefaces with Roman numbers and often also lengthy Appendices. In my calculation I include all pages that I effectively study and synthesize.
TCPL 2Ed - Page 005 to 005 - 3.37% Completion
Chapter 1: A Tutorial Introduction
In Chapter 1 the writers want to give an overview of C in general, without getting too detailed. They want to bring the reader as fast as possible to writing useful programs.
To accomplish this, in Chapter 1, they will present a quick view on the basics:
- variables
- constants
- arithmetic control flow
- functions
- input and output
In this chapter they do not explain features :needed to write large programs:
- pointers
- structures
- most operators
- several control-flow statements
- standard library
Downsides of this method:
- complete overview is missing
- the chapter may be misleading as a tutorial because of it's incompleteness
- because the examples do not utilize the full power of C they are less concise and elegant as they could potentially be
- later chapters will repeat much if what is already said here (which can be boring but also useful)
Overall:
- experienced programmers will be able to take what is useful
- beginners should augment what they find here with writing similar programs of their own
- both groups can use this chapter as a framework on which they can hang more elaborate descriptions of chapter 2
TCPL 2Ed - Page 005 to 005 - 3.37% Completion
Chapter 1: A Tutorial Introduction
In Chapter 1 the writers want to give an overview of C in general, without getting too detailed. They want to bring the reader as fast as possible to writing useful programs.
To accomplish this, in Chapter 1, they will present a quick view on the basics:
- variables
- constants
- arithmetic control flow
- functions
- input and output
In this chapter they do not explain features :needed to write large programs:
- pointers
- structures
- most operators
- several control-flow statements
- standard library
Downsides of this method:
- complete overview is missing
- the chapter may be misleading as a tutorial because of it's incompleteness
- because the examples do not utilize the full power of C they are less concise and elegant as they could potentially be
- later chapters will repeat much if what is already said here (which can be boring but also useful)
Overall:
- experienced programmers will be able to take what is useful
- beginners should augment what they find here with writing similar programs of their own
- both groups can use this chapter as a framework on which they can hang more elaborate descriptions of chapter 2