• Complain

Peter Prinz - C in a Nutshell

Here you can read online Peter Prinz - 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: 2005, publisher: OReilly Media, 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.

Peter Prinz 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.

Learning a language--any language--involves a process wherein you learn to rely less and less on instruction and more increasingly on the aspects of the language youve mastered. Whether youre learning French, Java, or C, at some point youll set aside the tutorial and attempt to converse on your own. Its not necessary to know every subtle facet of French in order to speak it well, especially if theres a good dictionary available. Likewise, C programmers dont need to memorize every detail of C in order to write good programs. What they need instead is a reliable, comprehensive reference that they can keep nearby.C in a Nutshell is that reference.
This long-awaited book is a complete reference to the C programming language and C runtime library. Its purpose is to serve as a convenient, reliable companion in your day-to-day work as a C programmer. C in a Nutshell covers virtually everything you need to program in C, describing all the elements of the language and illustrating their use with numerous examples.

Peter Prinz: 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
Peter Prinz
Tony Crawford
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo Preface This book is a - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

Preface

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

The present description of the C language is based on the 1999 international C standard, ISO/IEC 9899:1999, including the Technical Corrigenda, TC1 of 2001 and TC2 of 2004. This standard, widely known as C99, is an extension of the ISO/IEC 9899:1990 standard and the 1995 Normative Addendum 1 (ISO/IEC 9899/AMD1:1995). The 1990 ISO/IEC standard corresponds to the ANSI standard X3.159, which was ratified in late 1989 and is commonly called ANSI C or C89.

The new features of the 1999 C standard are not yet fully supported by all compilers and standard library implementations. In this book we have therefore labeled 1999 extensions, such as new standard library functions that were not mentioned in earlier standards, with the abbreviation C99.

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

How This Book Is Organized

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

Part I

.

, Language Basics

Describes the characteristics of the language and how C programs are structured and compiled. This chapter introduces basic concepts such as the translation unit, character sets, and identifiers.

, Types

Provides an overview of types in C and describes the basic types, the type void, and enumerated types.

, Literals

Describes numeric constants, character constants, and string literals, including escape sequences.

, Type Conversions

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

, Expressions and Operators

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

, Statements

Describes C statements such as blocks, loops, and jumps.

, Functions

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

, Arrays

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

, Pointers

Describes the definition and use of pointers to objects and functions.

, Structures, Unions, and Bit-Fields

Describes the organization of data in these user-defined derived types.

, Declarations

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

, Dynamic Memory Management

Describes the standard library's dynamic memory management functions, illustrating their use in a sample implementation of a generalized binary tree.

, Input and Output

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

, Preprocessing Directives

Describes the definition and use of macros, conditional compiling, and all the other preprocessor directives and operators.

Part II

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

, The Standard Headers

Describes contents of the headers and their use. The headers contain all of the standard library's macros and type definitions.

, Functions at a Glance

Provides an overview of the standard library functions, organized by areas of application, such as "Mathematical Functions," "Time and Date Functions," and so on.

, Standard Library Functions

Describes each standard library function in detail, in alphabetical order, and contains examples to illustrate the use of each function.

Part III

The third part of this book provides the necessary knowledge of the C programmer's basic tools: the compiler, the make utility, and the debugger. The tools described here are those in the GNU software collection.

, Compiling with GCC

Describes the principal capabilities that the widely used compiler offers for C programmers.

, Using make to Build C Programs

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

, Debugging C Programs with GDB

Describes how to run a program under the control of the GNU debugger and how to analyze programs' runtime behavior to find logical errors.

Further Reading

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

For readers who are interested in not only the what and how of C, but also the why , the WG14 site also has a link to the "C99 Rationale": this is a nonnormative but current document that describes some of the motivations and constraints involved in the standardization process. The C89 Rationale is online at http://www.lysator.liu.se/c/rat/title.html. Furthermore, for those who may wonder how C "got to be that way" in the first place, the originator of C, Dennis Ritchie, has an article titled "The Development of the C Language" as well as other historical documents on his Bell Labs web site, http://cm.bell-labs.com/cm/cs/who/dmr.

Readers who want details on floating-point math beyond the scope of C may wish to start with David Goldberg's thorough introduction, "What Every Computer Scientist Should Know About Floating-Point Arithmetic," currently available online at http://docs.sun.com/source/806-3568/ncg_goldberg.html.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Highlights new terms; indicates filenames, file extensions, URLs, directories, and Unix utilities.

Constant width

Indicates all elements of C source code: keywords, operators, variables, functions, macros, types, parameters, and literals. Also used for console commands and options, and the output from such commands.

Constant width bold

Highlights the function or statement under discussion in code examples. In compiler, make, and debugger sessions, this font indicates command input to be typed literally by the user.

Constant width italic

Indicates parameters in function prototypes, or placeholders to be replaced with your own values.

Plain text

Indicates keys such as Return, Tab, and Ctrl.

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.