FIRST BOOK OF ANSI C: FUNDAMENTALS OF C PROGRAMMING 2E
, by BRONSON/MENCONI- ISBN: 9780314073365 | 0314073361
- Cover: Paperback
- Copyright: 2/20/1996
Fundamentals | p. 1 |
Getting Started | p. 3 |
Introduction to Programming | p. 4 |
Introduction to Modularity | p. 12 |
The printf () Function | p. 19 |
Programming Style | p. 23 |
Top-Down Program Development | p. 27 |
Common Programming Errors | p. 34 |
Chapter Summary | p. 35 |
Data Types, Declarations, and Displays | p. 37 |
Data Types | p. 38 |
Arithmetic Operators | p. 43 |
Displaying Numerical Results | p. 48 |
Variables and Declarations | p. 59 |
Integer Qualifiers | p. 71 |
Common Programming Errors | p. 75 |
Chapter Summary | p. 75 |
Chapter Supplement: Bits, Bytes, Addresses, and Number Codes | p. 76 |
Assignments, Addresses, and Interactive Input | p. 79 |
Assignment | p. 80 |
Addresses | p. 91 |
The scanf () Function | p. 101 |
scanf () with Buffered Input | p. 108 |
Symbolic Constants | p. 111 |
Common Programming Errors | p. 115 |
Chapter Summary | p. 117 |
Flow of Control | p. 119 |
Selection | p. 121 |
Relational Expressions | p. 122 |
The if-else Statement | p. 128 |
Nested if Statements | p. 136 |
The switch Statement | p. 143 |
Common Programming Errors | p. 148 |
Chapter Summary | p. 150 |
Chapter Supplement: Errors, Testing, and Debugging | p. 152 |
Repetition | p. 159 |
The while Statement | p. 160 |
scanf () Within a while Loop | p. 167 |
The for Statement | p. 180 |
The do Statement | p. 192 |
Common Programming Errors | p. 195 |
Chapter Summary | p. 196 |
Functions | p. 197 |
Writing Your Own Functions | p. 199 |
Function Definitions and Declarations | p. 200 |
Standard Library Functions | p. 213 |
Variable Scope | p. 221 |
Variable Storage Class | p. 227 |
Passing Addresses | p. 235 |
Common Programming Errors | p. 243 |
Chapter Summary | p. 244 |
Complex Data Types | p. 247 |
Arrays | p. 249 |
Single-Dimensional Arrays | p. 250 |
Array Initialization | p. 259 |
Passing Arrays | p. 263 |
Two-Dimensional Arrays | p. 268 |
Common Programming Errors | p. 277 |
Chapter Summary | p. 277 |
Chapter Supplement: Sorting Methods | p. 278 |
Arrays, Addresses, and Pointers | p. 285 |
Array Names as Pointers | p. 286 |
Pointer Arithmetic | p. 292 |
Passing and Using Array Addresses | p. 297 |
Common Programming Errors | p. 305 |
Chapter Summary | p. 308 |
Character Strings | p. 309 |
String Fundamentals | p. 310 |
Pointers and Library Functions | p. 318 |
String Definitions and Pointer Arrays | p. 325 |
Formatting Strings | p. 332 |
Common Programming Errors | p. 336 |
Chapter Summary | p. 336 |
Structures | p. 339 |
Single Structures | p. 340 |
Arrays of Structures | p. 346 |
Passing and Returning Structures | p. 350 |
Linked Lists | p. 357 |
Dynamic Storage Allocation | p. 365 |
Unions | p. 372 |
Common Programming Errors | p. 375 |
Chapter Summary | p. 376 |
Additional Topics | p. 377 |
Data Files | p. 379 |
Declaring, Opening, and Closing Files | p. 380 |
Reading and Writing Files | p. 385 |
Random File Access | p. 393 |
Passing and Returning File Names | p. 396 |
Common Programming Errors | p. 399 |
Chapter Summary | p. 400 |
Chapter Supplement: Control Codes | p. 401 |
Bit Operations | p. 405 |
The AND Operator | p. 406 |
The Inclusive OR Operator | p. 409 |
The Exclusive OR Operator | p. 411 |
The Complement Operator | p. 413 |
Different-Size Data Items | p. 414 |
The Shift Operators | p. 416 |
Chapter Summary | p. 419 |
Additional Capabilities | p. 421 |
Expressions Revisited | p. 422 |
User-Specified Data Types | p. 428 |
Defining Macros | p. 432 |
Command Line Arguments | p. 436 |
The goto Statement | p. 442 |
Chapter Summary | p. 443 |
Appendixes | p. 445 |
A. Operator Precedence Table | p. 446 |
B. ASCII Character Codes | p. 447 |
C. Input, Output, and Standard Error Redirection | p. 448 |
D. Program Life Cycle | p. 451 |
E. Program Entry, Compilation, and Execution under the DOS, UNIX, VAX-VMS, and PRIME Operating Systems | p. 455 |
F. Using Borland's Turbo C Compiler | p. 462 |
G. Using Microsoft's Quick C Compiler | p. 466 |
H. Solutions | p. 470 |
Index | p. 531 |
Table of Contents provided by Blackwell. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.