icon
Image from Google Jackets
Image from OpenLibrary

Fluent C : principles, practices, and patterns / Christopher Preschern.

By: Publisher: Beijing Sebastopol, CA : O'Reilly, 2023Copyright date: ©2022Edition: First editionDescription: xxi, 281 pages : illustrations ; 24 cmContent type:
  • text
Media type:
  • unmediated
Carrier type:
  • volume
ISBN:
  • 9781492097334
Subject(s): Genre/Form: DDC classification:
  • 005.13/3 23 P928
Contents:
C patterns. Error handling -- Returning error information -- Memory management -- Returning data from C functions -- Data lifetime and ownership -- Flexible APIs -- Flexible iterator interfaces -- Organizing files in modular programs -- Escaping #ifdef Hell -- Pattern stories. Implementing logging functionality -- Building a user management system -- Conclusion.
Summary: "Expert advice on C programming is hard to find. While much help is available for object-oriented programming languages, there's surprisingly little for the C language. With this hands-on guide, beginners and experienced C programmers alike will find guidance about design decisions, including how to apply them bit by bit to running code examples when building large-scale programs. Christopher Preschern, a leading member of the design patterns community, answers questions such as how to structure C programs, cope with error handling, or design flexible interfaces. Whether you're looking for one particular pattern or an overview of design options for a specific topic, this book shows you how to implement hands-on design knowledge specifically for the C programming language. You'll find design patterns for: Error handling Returning error information Memory management Returning data from C functions Data lifetime and ownership Flexible APIs Flexible iterator interfaces Organizing files in modular programs Escaping #ifdef Hell."--Page 4 of cover.
Item type: كتاب
Tags from this library: No tags from this library for this title.
Star ratings
    Average rating: 0.0 (0 votes)

Includes bibliographical references (pages 275-276) and index.

C patterns. Error handling -- Returning error information -- Memory management -- Returning data from C functions -- Data lifetime and ownership -- Flexible APIs -- Flexible iterator interfaces -- Organizing files in modular programs -- Escaping #ifdef Hell -- Pattern stories. Implementing logging functionality -- Building a user management system -- Conclusion.

"Expert advice on C programming is hard to find. While much help is available for object-oriented programming languages, there's surprisingly little for the C language. With this hands-on guide, beginners and experienced C programmers alike will find guidance about design decisions, including how to apply them bit by bit to running code examples when building large-scale programs. Christopher Preschern, a leading member of the design patterns community, answers questions such as how to structure C programs, cope with error handling, or design flexible interfaces. Whether you're looking for one particular pattern or an overview of design options for a specific topic, this book shows you how to implement hands-on design knowledge specifically for the C programming language. You'll find design patterns for: Error handling Returning error information Memory management Returning data from C functions Data lifetime and ownership Flexible APIs Flexible iterator interfaces Organizing files in modular programs Escaping #ifdef Hell."--Page 4 of cover.