C in a nutshell
The new edition of this classic O’Reilly reference provides clear, detailed explanations of every feature in the C language and runtime library, including multithreading, type-generic macros, and library functions that are new in the 2011 C standard (C11). If you want to understand the effects of an...
Other Authors: | , |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Sebastopol, CA :
O'Reilly
2015.
|
Edition: | 2nd ed |
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629692006719 |
Table of Contents:
- Copyright; Table of Contents; Preface; How This Book Is Organized; Part I; Part II; Part III; Further Reading; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Peter; Tony; Part I. Language; Chapter 1. Language Basics; Characteristics of C; The Structure of C Programs; Source Files; Comments; Character Sets; Wide Characters and Multibyte Characters; Universal Character Names; Digraphs and Trigraphs; Identifiers; Identifier Name Spaces; Identifier Scope; How the C Compiler Works; The C Compiler's Translation Phases; Tokens
- Chapter 2. TypesTypology; Integer Types; Integer Types Defined in Standard Headers; Floating-Point Types; Complex Floating-Point Types; Enumerated Types; The Type void; void in Function Declarations; Expressions of Type void; Pointers to void; The Alignment of Objects in Memory; Chapter 3. Literals; Integer Constants; Floating-Point Constants; Decimal Floating-Point Constants; Hexadecimal Floating-Point Constants; Character Constants; Types and Values of Character Constants; Escape Sequences; String Literals; Chapter 4. Type Conversions; Conversion of Arithmetic Types; Hierarchy of Types
- Integer PromotionUsual Arithmetic Conversions; Other Implicit Type Conversions; The Results of Arithmetic Type Conversions; Conversion of Nonarithmetic Types; Array and Function Designators; Explicit Pointer Conversions; Implicit Pointer Conversions; Conversions Between Pointer and Integer Types; Chapter 5. Expressions and Operators; How Expressions Are Evaluated; Generic Selections (C11); Lvalues; Side Effects and Sequence Points; Operator Precedence and Associativity; Operators in Detail; Arithmetic Operators; Assignment Operators; Increment and Decrement Operators; Comparative Operators
- Function ParametersArrays as Function Parameters; The main() Function; Function Declarations; Declaring Optional Parameters; Declaring Variable-Length Array Parameters; How Functions Are Executed; Pointers as Arguments and Return Values; Inline Functions; Non-Returning Functions; Recursive Functions; Variable Numbers of Arguments; Chapter 8. Arrays; Defining Arrays; Fixed-Length Arrays; Variable-Length Arrays; Accessing Array Elements; Initializing Arrays; Writing Initialization Lists; Initializing Specific Elements; Strings; Multidimensional Arrays; Matrices
- Declaring Multidimensional Arrays