An edition of The C Programming Language (1978)

The C Programming Language

  • 4.2 (54 ratings)
  • 857 Want to read
  • 90 Currently reading
  • 62 Have read

My Reading Lists:

Create a new list

  • 4.2 (54 ratings)
  • 857 Want to read
  • 90 Currently reading
  • 62 Have read

Buy this book

Last edited by MARC Bot
February 12, 2025 | History
An edition of The C Programming Language (1978)

The C Programming Language

  • 4.2 (54 ratings)
  • 857 Want to read
  • 90 Currently reading
  • 62 Have read

Very well known, classic introduction to the C Programming Language. Both a text for learning, a reference, and, to some, the definition of proper C language features and use.

Publish Date
Publisher
Prentice-Hall
Language
English
Pages
228

Buy this book

Previews available in: Chinese French German English

Edition Availability
Cover of: C cheng xu she ji yu yan
C cheng xu she ji yu yan: The C programming language
2004, Ji xie gong ye chu ban she
in Chinese - Di 2 ban
Cover of: Le langage C
Le langage C: Norne ANSI
1997, Masson, Prentice Hall
in French - 2e éd.
Cover of: Programmieren in C. ANSI C (2. A.). Mit dem C- Reference Manual.
Programmieren in C. ANSI C (2. A.). Mit dem C- Reference Manual.
January 1, 1990, Hanser Fachbuch
Paperback in German
Cover of: The C Programming Language
The C Programming Language
1988, Prentice Hall
in English - 2nd ed.
Cover of: Le  langage C
Le langage C
1986, Masson
in French - 4. tirage corr.
Cover of: The C Programming Language
The C Programming Language
1978, Prentice-Hall
in English

Add another edition?

Book Details


Table of Contents

Preface
Page ix
Chapter 0. Introduction
Page 1
Chapter 1. A Tutorial Introduction
Page 5
1.1. Getting Started
Page 5
1.2. Variables and Arithmetic
Page 8
1.3. The For Statement
Page 11
1.4. Symbolic Constants
Page 12
1.5. A Collection of Useful Programs
Page 13
1.6. Arrays
Page 20
1.7. Functions
Page 22
1.8. Arguments - Call by Value
Page 24
1.9. Character Arrays
Page 25
1.10. Scope; External Variables
Page 28
1.11. Summary
Page 31
Chapter 2. Types, Operators and Expressions
Page 33
2.1. Variable Names
Page 33
2.2. Data Types and Sizes
Page 33
2.3. Constants
Page 34
2.4. Declarations
Page 36
2.5. Arithmetic Operators
Page 37
2.6. Relational and Logical Operators
Page 38
2.7. Type Conversions
Page 39
2.8. Increment and Decrement Operators
Page 42
2.9. Bitwise Logical Operators
Page 44
2.10. Assignment Operators and Expressions
Page 46
2.11. Conditional Expressions
Page 47
2.12. Precedence and Order of Evaluation
Page 48
Chapter 3. Control Flow
Page 51
3.1. Statements and Blocks
Page 51
3.2. If-Else
Page 51
3.3. Else-If
Page 53
3.4. Switch
Page 54
3.5. Loops - While and For
Page 56
3.6. Loops - Do-while
Page 59
3.7. Break
Page 61
3.8. Continue
Page 62
3.9. Goto's and Labels
Page 62
Chapter 4. Functions and Program Structure
Page 65
4.1. Basics
Page 65
4.2. Functions Returning Non-Integers
Page 68
4.3. More on Function Arguments
Page 71
4.4. External Variables
Page 72
4.5. Scope Rules
Page 76
4.6. Static Variables
Page 80
4.7. Register Variables
Page 81
4.8. Block Structure
Page 81
4.9. Initialization
Page 82
4.10. Recursion
Page 84
4.11. The C Preprocessor
Page 86
Chapter 5. Pointers and Arrays
Page 89
5.1. Pointers and Addresses
Page 89
5.2. Pointers and Function Arguments
Page 91
5.3. Pointers and Arrays
Page 93
5.4. Address Arithmetic
Page 96
5.5. Character Pointers and Functions
Page 99
5.6. Pointers are not Integers
Page 102
5.7. Multi-Dimensional Arrays
Page 103
5.8. Pointer Arrays; Pointers to Pointers
Page 105
5.9. Initialization of Pointer Arrays
Page 109
5.10. Pointers vs. Multi-dimensional Arrays
Page 110
5.11. Command-line Arguments
Page 110
5.12. Pointers to Functions
Page 114
Chapter 6. Structures
Page 119
6.1. Basics
Page 119
6.2. Structures and Functions
Page 121
6.3. Arrays of Structures
Page 123
6.4. Pointers to Structures
Page 128
6.5. Self-referential Structures
Page 130
6.6. Table Lookup
Page 134
6.7. Fields
Page 136
6.8. Unions
Page 138
6.9. Typedef
Page 140
Chapter 7. Input and Output
Page 143
7.1. Access to the Standard Library
Page 143
7.2. Standard Input and Output - Getchar and Putchar
Page 144
7.3. Formatted Output - Printf
Page 145
7.4. Formatted Input - Scanf
Page 147
7.5. In-memory Format Conversion
Page 150
7.6. File Access
Page 151
7.7. Error Handling - Stderr and Exit
Page 154
7.8. Line Input and Output
Page 155
7.9. Some Miscellaneous Functions
Page 156
Chapter 8. The UNIX System Interface
Page 159
8.1. File Descriptors
Page 159
8.2. Low Level I/O - Read and Write
Page 160
8.3. Open, Creat, Close, Unlink
Page 162
8.4. Random Access - Seek and Lseek
Page 164
8.5. Example - An Implementation of Fopen and Getc
Page 165
8.6. Example - Listing Directories
Page 169
8.7. Example - A Storage Allocator
Page 173
Appendix A. C Reference Manual
Page 179
1. Introduction
Page 179
2. Lexical conventions
Page 179
3. Syntax notation
Page 182
4. What's in a name?
Page 182
5. Objects and Lvalues
Page 183
6. Conversions
Page 183
7. Expressions
Page 185
8. Declarations
Page 192
9. Statements
Page 201
10. External definitions
Page 204
11. Scope rules
Page 205
12. Compiler control lines
Page 207
13. Implicit declarations
Page 208
14. Types revisited
Page 209
15. Constant expressions
Page 211
16. Portability considerations
Page 211
17. Anachronisms
Page 212
18. Syntax Summary
Page 214
Index
Page 221

Edition Notes

Includes index.

Published in
Englewood Cliffs, N.J
Series
Prentice-Hall software series

Classifications

Dewey Decimal Class
001.6/424
Library of Congress
QA76.73.C15 K47

The Physical Object

Pagination
x, 228 p. ;
Number of pages
228

Edition Identifiers

Open Library
OL4558528M
ISBN 10
0131101633
LCCN
77028983
OCLC/WorldCat
3608698
LibraryThing
1577043
Goodreads
515607

Work Identifiers

Work ID
OL4617640W

Excerpts

Język C jest językiem ogólnego stosowania ... Jednak C nie jest przywiązany do żadnego systemu operacyjnego lub maszyny. Wprawdzie nazwano go "językiem programowania systemowego", jest bowiem wygodnym narzędziem do konstruowania kompilatorów systemów operacyjnych, ale okazało się, że nadawał się równie dobrze do napisania ważniejszych programów z wielu różnych dziedzin.
added by Adam Byrtek.

Quoted on the back cover.

Community Reviews (0)

No community reviews have been submitted for this work.

Lists

Download catalog record: RDF / JSON