C programming : a modern approach / K.N. King.
By: King, K. N. (Kim N.) [author.].
Material type: BookPublisher: New York : W.W. Norton & Company, 2008Edition: Second edition.Description: xxviii, 832 pages : illustrations ; 24 cm.Content type: text Media type: unmediated Carrier type: volumeISBN: 9780393979503 (pbk.); 0393979504 (pbk.).Subject(s): C (Computer program language)DDC classification: 005.133 KINItem type | Current library | Call number | Copy number | Status | Date due | Barcode | Item holds |
---|---|---|---|---|---|---|---|
General Lending | MTU Bishopstown Library Lending | 005.133 KIN (Browse shelf(Opens below)) | 1 | Checked out | 01/05/2024 | 00163766 |
Enhanced descriptions from Syndetics:
Professor King's spiral approach made it accessible to a broad range of readers, from beginners to more advanced students. With adoptions at over 225 colleges, the first edition was one of the leading C textbooks of the last ten years.The second edition maintains all the book's popular features and brings it up to date with coverage of the C99 standard. The new edition also adds a significant number of exercises and longer programming projects, and includes extensive revisions and updates.
Bibliography: (pages 803-805) and index.
Basic Features of C -- Introducing C -- C fundamentals -- Formatted input / output -- Expressions -- Selection statements -- Loops -- Basic types -- Arrays -- Functions -- Program organization -- Advanced features of C -- Pointers -- Pointers and arrays -- Strings -- The preprocessor -- Writing large programs -- Structures, unions, and enumerations -- Advanced uses of pointers -- Declarations -- Program design -- Low-level programming -- The Standard C Library -- The standard library -- Input/output -- Library support for numbers and character data -- Error handling -- International features -- Miscellaneous library functions -- Additional C99 support for mathematics.
A clear, complete, and engaging presentation of the C programming language - now with coverage of both C89 and C99.--BOOK JACKET.
CIT Module SOFT7019 - Core reading.
Table of contents provided by Syndetics
- 1 Introducing C
- 1.1 History of C
- Origins
- Standardization
- C++
- 1.2 Strengths and Weaknesses of C
- Strengths
- Weaknesses
- Effective Use of C
- 2 C Fundamentals
- 2.1 Writing a Simple Program
- Program: Printing a Pun
- Compiling and Linking
- 2.2 The General Form of a Simple Program
- Directives
- Functions
- Statements
- Printing Strings
- 2.3 Comments
- 2.4 Variables and Assignment
- Types
- Declarations
- Assignment
- Printing the Value of a Variable
- Program
- Computing the Dimensional Weight of a Box
- Initialization
- Printing Expressions
- 2.5 Reading Input Program: Computing the Dimensional Weight of a Box (Revisited)
- 2.6 Defining Constants Program: Converting from Fahrenheit to Celsius
- 2.7 Identifiers
- Keywords
- 2.8 Layout of a C Program
- 3 Formatted Input/Output
- 3.1 The printf Function Conversion Specifications
- Program: Using printf to Format Numbers
- Escape Sequences
- 3.2 The scanf Function How scanf Works
- Ordinary Characters in Format Strings
- Confusing printf with scanf
- Program: Computing the Value of Stock Holdings
- 4 Expressions
- 4.1 Arithmetic Operators
- Operator Precedence and Associativity
- Program: Computing a UPC Check Digit
- 4.2 Assignment Operators Simple Assignment
- Lvalues
- Compound Assignment
- 4.3 Increment and Decrement Operators
- 4.4 Expression Evaluation Order of Subexpression Evaluation
- 4.5 Expression Statements
- 5 Selection Statements
- 5.1 Logical Expressions Relational Operators
- Equality Operators
- Logical Operators
- 5.2 The if Statement Compound Statements
- The else Clause
- Cascaded if Statements
- Program: Calculating a Broker's Commission
- The 'Dangling else' Problem
- Conditional Expressions
- Boolean Values
- 5.3 The switch Statement The Role of the break Statement
- Program: Printing a Date in Legal Form
- 6 Loops
- 6.1 The while Statement Infinite Loops
- Program: Printing a Table of Squares
- Program: Summing a Series of Numbers
- 6.2 The do Statement Program: Calculating the Number of Digits in an Integer
- 6.3 The for Statement for Statement Idioms
- Omitting Expressions in a for Statement
- The Comma Operator
- Program: Printing a Table of Squares (Revisited)
- 6.4 Exiting from a Loop
- The break Statement
- The continue Statement
- The goto Statement
- Program: Balancing a Checkbook
- 6.5 The Null Statement
- 7 Basic Types
- 7.1 Integer Types Integer Constants
- Reading and Writing Integers
- Program: Summing a Series of Numbers (Revisited)
- 7.2 Floating Types
- Floating Constants
- Reading and Writing Floating-Point Numbers
- 7.3 Character Types
- Escape Sequences
- Character-Handling Functions
- Reading and Writing Characters
- Program: Determining the Length of a Message
- 7.4 The sizeof Operator
- 7.5 Type Conve