Navigation
CHAPTERS CONTENTS EXERCISES INDEX ABOUT CONTACT
CONTENTS: Map Links (Examples: Content, First/Last – Exceptions, Programs, Exercises)
Map content
CHAPTERS contains a list of links to pages containing the contents of each chapter (all programs, including exercises), grouped by the sections in the corresponding chapter of the book this blog is based on. At the end of each chapter there is a page with links to the exercises from that chapter. See the chapters in Chapters, Contents, Exercises, and the Index (entry exercises).
CONTENTS contains all programs, including exercises, from all chapters.
EXERCISES contains all exercises from all chapters, in order from first to last exercise.
INDEX contains links to programs on this blog, grouped by relevant topics, which are ordered alphabetically.
Links
Each page on this blog has navigation links at the top and bottom. Navigation links open in the same browser window. BACK_TO_TOP opens the current page in the same window, effect similar to reloading the page.
Each chapter in linked to the previous and the next chapters (and to the first program and exercise in the current chapter), except for the first and the last chapters, which may be linked to the previous/next blogs to study. Content pages (Chapters, Contents) and the post
Contents
have links to other blogs and the first chapter on this blog.
Any program is linked to the previous and the next programs and exercises, except for the beginning and end of each chapter, in which case the links are to the current, respectively next chapters, where the user can find the previous/next exercise. For the last chapter, the links may be to the next blogs to study.
Any exercise is a program. As such, some programs may be linked to one or two previous/next programs. In such cases, the previous and the next exercises (when these are not the previous/next programs) are the outer links, while the previous/next programs are the inner links (see below).
EXAMPLES
Note: Here, the following "navigation" links become internal links (within the current page), so they open in a separate window. We have placed the current example program or page in the middle.
Content
Programming_Languages_blog C_Prog_blogs | Contents | Chapter_1 Advanced_Linux_Prog C_in_C++ |
Contents page is linked to the blogs referring to Kernighan_and_Ritchie, namely Programming_Languages_blog and C_Programming_blogs, as well as to the first chapter on this blog (Chapter_1) and the next blogs to study, Advanced_Linux_Programming and Thinking_in_C++_vol_1, Chapter_3 (The C in C++).
Chapters | Chapter_1 | Hello Exercise_1-1 Chapter_2 |
Chapter_1 is the first chapter on the blog, linked to the first program (Hello), first exercise (Exercise_1-1), and the next chapter, Chapter_2. The first program in Chapter_1 is not an exercise. Note how the first program (Hello) is the inner link, while the first exercise (Exercise_1-1) is the outer link.
Chapters Chapter_1 | Chapter_2 | Exercise_2-1 Chapter_3 |
Chapter_2 is linked to the previous chapter (Chapter_1) and the next chapter (Chapter_3). The first program in Chapter_2 is an exercise (Exercise_2-1).
Chapters Chapter_7 | Chapter_8 | ch8-copy Ex_8-1 ALP_blog C_in_C++ |
Chapter_8 is the last chapter, linked to the next blogs to study, Advanced_Linux_Programming (ALP) and Thinking_in_C++_vol_1, Chapter_3 (The C in C++). In Chapter_8 the first program (ch8-copy) is not an exercise. Note that the first program is the inner link, while the first exercise (Exercise_8-1) is the outer link. Also note that we wrote ch8-copy to distinguish it from another program with the same name but in a different chapter, ch1-copy.
The last page of each chapter contains links to the exercises from that chapter:
Chapter_1 Exercise_1-24 | ch1-Exercises | Chapter_2 |
First/Last program/exercise
Chapter_1 | Hello | Exercise_1-1 |
Hello is the first program in Chapter_1. It is linked to the next program, which is also the first exercise, Exercise_1-1.
Chapter_1 Hello | Exercise_1-1 | Exercise_1-2 |
Exercise_1-1 is the first exercise in Chapter_1, so it has no previous exercise. Here, the next program is also the next exercise, Exercise_1-2.
Chapter_1 Exercise_1-23 | Exercise_1-24 | ch1-Exercises Chapter_2 |
Exercise_1-24 is the last program in Chapter_1, so it is linked to the next chapter, Chapter_2. Note how Exercise_1-24 is also linked to the page with exercises for this chapter, ch1-Exercises. Here, the previous program is also the previous exercise, Exercise_1-23.
Chapter_8 Exercise_8-7 | Exercise_8-8 | ch8-Exercises ALP_blog C_in_C++ |
Exercise_8-8 is the last program on the blog (of Chapter_8), so it is linked to the next blogs to study, besides ch8-Exercises.
Exceptions
Because Exercise 5-6 is split in 10 smaller sub-exercises, each of these has links to the previous/next exercises, which are also the previous/next programs (the outer links). Exercise_5-6 is the previous exercise (which only lists its sub-exercises), while Exercise_5-7 is the next exercise (compared to Exercise_5-6):
Chapter_5 Exercise_5-6 Exercise_5-6-4 | Exercise_5-6-5 | Exercise_5-6-6 Exercise_5-7 |
Exercise_5-6-5 has inner links to the previous/next sub-exercises (Exercise_5-6-4 and Exercise_5-6-6) and outer links to the previous/next exercises (Exercise_5-6 and Exercise_5-7).
Chapter_5 Exercise_5-5 | Exercise_5-6 | Exercise_5-6-1 Exercise_5-7 |
Chapter_5 Exercise_5-6 Exercise_5-6-10 | Exercise_5-7 | Exercise_5-8 |
Exercise_5-6 has next links to the next exercise (Exercise_5-7) and to its first sub-exercise (Exercise_5-6-1), while Exercise_5-7 has previous links to the previous exercise (Exercise_5-6) and to the previous sub-exercise (Exercise_5-6-10).
Some exercises are split in two. For instance, there is no Exercise_1-13, just Exercise_1-13-1 and Exercise_1-13-2. The same goes for Exercise_1-14. The exercises are in order:
Chapter_1 Exercise_1-12 countc | Exercise_1-13-1 | Exercise_1-13-2 |
Chapter_1 Exercise_1-13-1 | Exercise_1-13-2 | Exercise_1-14-1 |
Chapter_1 Exercise_1-13-2 | Exercise_1-14-1 | Exercise_1-14-2 |
Chapter_1 Exercise_1-14-1 | Exercise_1-14-2 | power Exercise_1-15 |
Chapter_2 Exercise_2-9 items | Exercise_2-10 | Function_Precedence Chapter_3 |
Exercise_2-10 is the last exercise of Chapter_2, so it is linked to the next chapter (Chapter_3), where the user can find the next exercise. Note how the previous/next programs (which are not exercises, items and Function_Precedence) are inner links, while the previous/next exercise/chapter are outer links (Exercise_2-9 and Chapter_3).
Chapter_2 Exercise_2-10 | Function_Precedence | Arguments_Precedence Chapter_3 |
Because there is no exercise after Function_Precedence in Chapter_2, the outer link is to the next chapter (Chapter_3), where the user can find the next exercise. Also note that Function_Precedence is not the last program in Chapter_2.
Chapter_2 Exercise_2-10 Args_prec | Array_precedence | ch2-Exercises Chapter_3 |
Array_precedence is the last program in Chapter_2, so it is linked to the next chapter (Chapter_3) and also to the page with exercises from this chapter (ch2-Exercises). Here, the previous program is not an exercise.
Programs
Chapter_1 Exercise_1-4 | for()_variant | Exercise_1-5 |
Here, the previous and next programs are exercises (Sections 1.2 – 1.3 in Chapter_1).
Chapter_1 Exercise_1-2 | quotes | Temperature_Programs Exercise_1-3 |
Here, the previous program is an exercise (Exercise_1-2), while the next program (Temperature_Programs) is not an exercise. Note how the next program in the inner link, while the next exercise is the outer link (Exercise_1-3).
Chapter_1 Exercise_1-5 #define_directive | ch1-copy | Exercise_1-6 |
Here, the next program is an exercise (Exercise_1-6), while the previous program (#define_directive) is not an exercise. Here the previous program in the inner link, while the previous exercise is the outer link (Exercise_1-5). Note that we wrote ch1-copy to distinguish it from another program with the same name but in a different chapter, ch8-copy.
Chapter_2 Exercise_2-1 computed | ch2-strlen | enum Exercise_2-2 |
Here, the previous and next programs (inner links) are not exercises (outer links). Note that we wrote ch2-strlen to distinguish it from another program with the same name but in a different chapter, ch5-strlen.
Exercises
Chapter_1 Exercise_1-8 | Exercise_1-9 | Exercise_1-10 |
Here, the previous/next program is also the previous/next exercise (Sec. 1.5, Subsec. 1.5.3 in Chapter_1).
Chapter_1 Exercise_1-2 Truncate | Exercise_1-3 | Exercise_1-4 |
Here, Exercise_1-3 is preceded by program Truncate (Sec. 1.2, Chapter_1), while the previous exercise is Exercise_1-2.
Chapter_1 Exercise_1-1 | Exercise_1-2 | quotes Exercise_1-3 |
Here, the next program is quotes (Sec. 1.1, Chapter_1), while the next exercise is Exercise_1-3 (Sec. 1.2).
Chapter_1 Exercise_1-4 for()_variant | Exercise_1-5 | #define_directive Exercise_1-6 |
In this example, the outer links are the previous and next exercises, while the inner links are the previous and next programs (Sections 1.2 – 1.5 in Chapter_1).
Comments
Post a Comment