- 博客(0)
- 资源 (5)
- 收藏
- 关注
The C programming Language
The C programming Language.chm<br><br>The C programming Language<br>By Brian W. Kernighan and Dennis M. Ritchie. <br>Published by Prentice-Hall in 1988 <br><br>ISBN 0-13-110362-8 (paperback)<br>ISBN 0-13-110370-9 <br><br>Contents<br>Preface <br>Preface to the first edition <br>Introduction <br>Chapter 1: A Tutorial Introduction <br>Getting Started <br>Variables and Arithmetic Expressions <br>The for statement <br>Symbolic Constants <br>Character Input and Output <br>File Copying <br>Character Counting <br>Line Counting <br>Word Counting <br>Arrays <br>Functions <br>Arguments - Call by Value <br>Character Arrays <br>External Variables and Scope <br><br>Chapter 2: Types, Operators and Expressions <br>Variable Names <br>Data Types and Sizes <br>Constants <br>Declarations <br>Arithmetic Operators <br>Relational and Logical Operators <br>Type Conversions <br>Increment and Decrement Operators <br>Bitwise Operators <br>Assignment Operators and Expressions <br>Conditional Expressions <br>Precedence and Order of Evaluation <br><br>Chapter 3: Control Flow <br>Statements and Blocks <br>If-Else <br>Else-If <br>Switch <br>Loops - While and For <br>Loops - Do-While <br>Break and Continue <br>Goto and labels <br><br>Chapter 4: Functions and Program Structure <br>Basics of Functions <br>Functions Returning Non-integers <br>External Variables <br>Scope Rules <br>Header Files <br>Static Variables <br>Register Variables <br>Block Structure <br>Initialization <br>Recursion <br>The C Preprocessor <br>File Inclusion <br>Macro Substitution <br>Conditional Inclusion <br><br>Chapter 5: Pointers and Arrays <br>Pointers and Addresses <br>Pointers and Function Arguments <br>Pointers and Arrays <br>Address Arithmetic <br>Character Pointers and Functions <br>Pointer Arrays; Pointers to Pointers <br>Multi-dimensional Arrays <br>Initialization of Pointer Arrays <br>Pointers vs. Multi-dimensional Arrays <br>Command-line Arguments <br>Pointers to Functions <br>Complicated Declarations <br><br>Chapter 6: Structures <br>Basics of Structures <br>Structures and Functions <br>Arrays of Structures <br>Pointers to Structures <br>Self-referential Structures <br>Table Lookup <br>Typedef <br>Unions <br>Bit-fields <br><br>Chapter 7: Input and Output <br>Standard Input and Output <br>Formatted Output - printf <br>Variable-length Argument Lists <br>Formatted Input - Scanf <br>File Access <br>Error Handling - Stderr and Exit <br>Line Input and Output <br>Miscellaneous Functions <br>String Operations <br>Character Class Testing and Conversion <br>Ungetc <br>Command Execution <br>Storage Management <br>Mathematical Functions <br>Random Number generation <br><br>Chapter 8: The UNIX System Interface <br>File Descriptors <br>Low Level I/O - Read and Write <br>Open, Creat, Close, Unlink <br>Random Access - Lseek <br>Example - An implementation of Fopen and Getc <br>Example - Listing Directories <br>Example - A Storage Allocator <br>Appendix A: Reference Manual <br>Introduction <br>Lexical Conventions <br>Syntax Notation <br>Meaning of Identifiers <br>Objects and Lvalues <br>Conversions <br>Expressions <br>Declarations <br>Statements <br>External Declarations <br>Scope and Linkage <br>Preprocessor <br>Grammar <br><br>Appendix B: Standard Library <br>Input and Output: <stdio.h> <br>File Operations <br>Formatted Output <br>Formatted Input <br>Character Input and Output Functions <br>Direct Input and Output Functions <br>File Positioning Functions <br>Error Functions <br>Character Class Tests: <ctype.h> <br>String Functions: <string.h> <br>Mathematical Functions: <math.h> <br>Utility Functions: <stdlib.h> <br>Diagnostics: <assert.h> <br>Variable Argument Lists: <stdarg.h> <br>Non-local Jumps: <setjmp.h> <br>Signals: <signal.h> <br>Date and Time Functions: <time.h> <br>Implementation-defined Limits: <limits.h> and <float.h>
2008-06-14
Programming Embedded Systems in C and C++.chm
First figure out why you want the students to learn the subject and what you want them to know, and the method will result more or less by common sense. <br><br>-Richard Feynman<br><br>Embedded software is in almost every electronic device in use today. There is software hidden away inside our watches, VCRs, cellular phones, and even a few toasters. The military uses embedded software to guide missiles and detect enemy aircraft. And communication satellites, deep-space probes, and many medical instruments would've been nearly impossible to create without it. <br><br>Someone has to write all that software, and there are tens of thousands of electrical engineers, computer scientists, and other professionals who actually do. I am one of them, and I know from my personal experience just how hard it can be to learn the craft. There aren't any embedded software courses in school, and I've never been able to find a decent book about the subject in any library. <br><br>Each embedded system is unique, and the hardware is highly specialized to the application domain. As a result, embedded systems programming can be a widely varying experience and can take years to master. However, one common denominator across almost all embedded software development is the use of the C programming language. This book will teach you how to use C and its descendent C++ in any embedded system. <br><br>Even if you already know how to write embedded software, you can still learn a lot from this book. In addition to learning how to use C and C++ more effectively, you'll also benefit from the detailed explanations and source code solutions to common embedded software problems. Among the advanced topics covered in the book are memory testing and verification, device driver design and implementation, real-time operating system internals, and code optimization techniques. <br>
2008-06-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人