• Complain

Crawford Tony - C in a Nutshell

Here you can read online Crawford Tony - C in a Nutshell full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: OReilly Media Inc, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Crawford Tony C in a Nutshell

C in a Nutshell: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "C in a Nutshell" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The new edition of this classic OReilly 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, youll 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.

Crawford Tony: author's other books


Who wrote C in a Nutshell? Find out the surname, the name of the author of the book and a list of all author's works by series.

C in a Nutshell — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "C in a Nutshell" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
C in a Nutshell, Second Edition

by Peter Prinz and Tony Crawford

Copyright 2016 Peter Prinz and Tony Crawford. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Editors: Rachel Roumeliotis and
    Katie Schooling
  • Production Editor: Kristen Brown
  • Copyeditor: Gillian McGarvey
  • Proofreader: Jasmine Kwityn
  • Indexer: Angela Howard
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Rebecca Demarest
  • December 2005: First Edition
  • December 2015: Second Edition
Revision History for the Second Edition
  • 2015-12-07: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781491904756 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. C in a Nutshell, Second Edition, the cover image of a cow, and related trade dress are trademarks of OReilly Media, Inc.

While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-491-90475-6

[M]

Preface

This book is a complete reference to the C programming language andthe C runtime library. As an In a Nutshell book, its purpose is to serve as aconvenient, reliable companion for C programmers in their day-to-day work.It describes all the elements of the language and illustrates their usewith numerous examples.

The present description of the C language is based on the 2011 international C standard, ISO/IEC 9899:2011, widely known as C11. This standard supersedes the C99 standard, ISO/IEC 9899:1999, and its Technical Corrigenda, TC1 of 2001, TC2 of 2004, and TC3 of 2007. The first international C standard, ISO/IEC 9899:1990, was published in 1990 and supplemented in 1995 by Normative Addendum 1 (ISO/IEC 9899/AMD1:1995). The 1990 ISO/IEC standardcorresponds to the ANSI standard X3.159, which was ratified in late 1989and is commonly called ANSI C or C89.

The new features of the 2011 C standard are not yet fully supportedby all compilers and standard library implementations. In this book, wehave therefore labeled 2011 featuressuch as multithreading, type-generic macros, and new standard libraryfunctionswith the abbreviation C11. Extensions that were introduced by the C99 standard are labeled with theabbreviation C99.

This book is not an introduction to programming in C. Although itcovers the fundamentals of the language, it is not organized or written asa tutorial. If you are new to C, we assume that you have read at least oneof the many introductory books, or that you are familiar with a relatedlanguage, such as Java or C++.

How This Book Is Organized

This book is divided into three parts. The first part describesthe C language in the strict sense of the term; the second partdescribes the standard library; and the third part describes the processof compiling and testing programs with the popular tools in the GNUsoftware collection.

Part I

.

Describes the characteristics of the language and how Cprograms are structured and compiled. This chapter introducesbasic concepts such as the translation unit, character sets, andidentifiers.

Provides an overview of types in C and describes the basictypes, the type void, andenumerated types.

Describes numeric constants, character constants, andstring literals, including escape sequences.

Describes implicit and explicit type conversions,including integer promotion and the usual arithmeticconversions.

Describes the evaluation of expressions, all theoperators, and their compatible operands.

Describes C statements such as blocks, loops, andjumps.

Describes function definitions and function calls,including recursive and inline functions.

Describes fixed-length and variable-length arrays,including strings, array initialization, and multidimensionalarrays.

Describes the definition and use of pointers to objectsand functions.

Describes the organization of data in these user-definedderived types.

Describes the general syntax of a declaration, identifierlinkage, and the storage duration of objects.

Describes the standard librarys dynamic memory managementfunctions, illustrating their use in a sample implementation ofa generalized binary tree.

Describes the C concept of input and output, with anoverview of the use of the standard I/O library.

Describes the use of the C11 multithreading features, including atomic operations, communication between threads, and thread-specific storage.

Describes the definition and use of macros, conditionalcompiling, and all the other preprocessor directives andoperators.

Part II

, is devoted to the C standard library. It providesan overview of standard headers and also contains a detailed function reference.

Describes contents of the headers and their use. Theheaders contain all of the standard librarys macros and typedefinitions.

Provides an overview of the standard library functions,organized by areas of application (e.g., mathematicalfunctions, date and time functions, etc.).

Describes each standard library function in detail, inalphabetical order, and contains examples to illustrate the useof each function.

Part III

The third part of this book, which includes Chapters , provides the necessary knowledge ofthe C programmers basic tools: the compiler, the make utility, and the debugger. The toolsdescribed here are those in the GNU software collection. Finally, the use of these tools in an integrated development environment (IDE) for C is described using the Eclipse IDE as an example.

Describes the principal capabilities that the widely usedcompiler offers for C programmers.

Describes how to use the make program to automate thecompiling process for large programs.

Describes how to run a program under the control of theGNU debugger and how to analyze programs runtime behavior tofind logical errors.

Describes the use of an integrated development environment (IDE) for unified, convienient access to all the tools for developing C programs.

Further Reading

In addition to works mentioned at appropriate points in the text,there are a number of resources for readers who want more technicaldetail than even this book can provide. The international working groupon C standardization has an official home page at http://www.open-std.org/jtc1/sc22/wg14, with links to thelatest version of the C standard and current projects of the workinggroup.

For readers who are interested in not only thewhat and how of C, but alsothe why, the WG14 site also offers links to some of its drafts and rationales. These documents describe some of the motivations and constraints involved in the standardization process. Furthermore,for those who may wonder how C got to be that way in the first place,the originator of C, the late Dennis Ritchie, wrote an article titled TheDevelopment of the C Language. This and other historical documents are still available onhis Bell Labs website,

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «C in a Nutshell»

Look at similar books to C in a Nutshell. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «C in a Nutshell»

Discussion, reviews of the book C in a Nutshell and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.