Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

C IN A NUTSHELL. THE DEFINITIVE REFERENCE 2E
Título:
C IN A NUTSHELL. THE DEFINITIVE REFERENCE 2E
Subtítulo:
Autor:
PRINZ, PETER
Editorial:
O´REILLY
Año de edición:
2016
Materia
C
ISBN:
978-1-4919-0475-6
Páginas:
824
58,50 €

 

Sinopsis

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 unfamiliar function, and how the standard library requires it to behave, you'll find it here, along with a typical example.

Ideal for experienced C and C++ programmers, this book also includes popular tools in the GNU software collection. You'll learn how to build C programs with GNU Make, compile executable programs from C source code, and test and debug your programs with the GNU debugger.

In three sections, this authoritative book covers:

C language concepts and language elements, with separate chapters on types, statements, pointers, memory management, I/O, and more
The C standard library, including an overview of standard headers and a detailed function reference
Basic C programming tools in the GNU software collection, with instructions on how use them with the Eclipse IDE



Language
Chapter 1Language Basics
Characteristics of C
The Structure of C Programs
Source Files
Comments
Character Sets
Identifiers
How the C Compiler Works
Chapter 2Types
Typology
Integer Types
Floating-Point Types
Complex Floating-Point Types
Enumerated Types
The Type void
The Alignment of Objects in Memory
Chapter 3Literals
Integer Constants
Floating-Point Constants
Character Constants
String Literals
Chapter 4Type Conversions
Conversion of Arithmetic Types
Conversion of Nonarithmetic Types
Chapter 5Expressions and Operators
How Expressions Are Evaluated
Operators in Detail
Constant Expressions
Chapter 6Statements
Expression Statements
Block Statements
Loops
Selection Statements
Unconditional Jumps
Chapter 7Functions
Function Definitions
Function Declarations
How Functions Are Executed
Pointers as Arguments and Return Values
Inline Functions
Non-Returning Functions
Recursive Functions
Variable Numbers of Arguments
Chapter 8Arrays
Defining Arrays
Accessing Array Elements
Initializing Arrays
Strings
Multidimensional Arrays
Arrays as Arguments of Functions
Chapter 9Pointers
Declaring Pointers
Operations with Pointers
Pointers and Type Qualifiers
Pointers to Arrays and Arrays of Pointers
Pointers to Functions
Chapter 10Structures, Unions, and Bit-Fields
Structures
Unions
Anonymous Structures and Unions
Bit-Fields
Chapter 11Declarations
Object and Function Declarations
Type Names
typedef Declarations
_Static_assert Declarations
Linkage of Identifiers
Storage Duration of Objects
Initialization
Chapter 12Dynamic Memory Management
Allocating Memory Dynamically
Characteristics of Allocated Memory
Resizing and Releasing Memory
An All-Purpose Binary Tree
Characteristics
Implementation
Chapter 13Input and Output
Streams
Files
Opening and Closing Files
Reading and Writing
Random File Access
Chapter 14Multithreading
Threads
Accessing Shared Data
Communication Between Threads: Condition Variables
Thread-Local Objects and Thread-Specific Storage
Chapter 15Preprocessing Directives
Inserting the Contents of Header Files
Defining and Using Macros
Type-generic Macros
Conditional Compiling
Defining Line Numbers
Generating Error Messages
The #pragma Directive
The _Pragma Operator
Predefined Macros
Standard Library
Chapter 16The Standard Headers
Using the Standard Headers
Functions with Bounds-Checking
Contents of the Standard Headers
Chapter 17Functions at a Glance
Input and Output
Mathematical Functions
Character Classification and Conversion
String Processing
Multibyte Characters
Converting Between Numbers and Strings
Searching and Sorting
Memory Block Handling
Dynamic Memory Management
Date and Time
Process Control
Internationalization
Nonlocal Jumps
Multithreading (C11)
Debugging
Error Messages
Chapter 18Standard Library Functions
Basic Tools
Chapter 19Compiling with GCC
The GNU Compiler Collection
Obtaining and Installing GCC
Compiling C Programs with GCC
C Dialects
Compiler Warnings
Optimization
Debugging
Profiling
Option and Environment Variable Summary
Chapter 20Using make to Build C Programs
Targets, Prerequisites, and Commands
The Makefile
Rules
Comments
Variables
Phony Targets
Other Target Attributes
Macros
Functions
Directives
Running make
Chapter 21Debugging C Programs with GDB
Installing GDB
A Sample Debugging Session
Starting GDB
Using GDB Commands
Analyzing Core Files in GDB
Chapter 22Using an IDE with C
IDEs for C
The Eclipse IDE for C/C++
Developing a C Program with Eclipse
Debugging a C Program in Eclipse
Further Information on Eclipse