C/C++ Programmer's Reference
Essential programming tips at your fingertips! This handy programmer's reference provides quick access to syntax, functions, classes, methods, as well as the Standard Template Library (STL). The book covers ANSI/ISO Standard C and C++, including the new C99 standard.
1113895009
C/C++ Programmer's Reference
Essential programming tips at your fingertips! This handy programmer's reference provides quick access to syntax, functions, classes, methods, as well as the Standard Template Library (STL). The book covers ANSI/ISO Standard C and C++, including the new C99 standard.
25.0 In Stock
C/C++ Programmer's Reference

C/C++ Programmer's Reference

C/C++ Programmer's Reference

C/C++ Programmer's Reference

Paperback(2nd ed.)

$25.00 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

Essential programming tips at your fingertips! This handy programmer's reference provides quick access to syntax, functions, classes, methods, as well as the Standard Template Library (STL). The book covers ANSI/ISO Standard C and C++, including the new C99 standard.

Product Details

ISBN-13: 9780072127065
Publisher: McGraw-Hill/Osborne Media
Publication date: 06/27/2000
Series: Programmer's Reference
Edition description: 2nd ed.
Pages: 416
Product dimensions: 5.49(w) x 8.45(h) x 1.07(d)

About the Author

Herbert Schildt is the world's leading C/C++ author. His programming books have sold more than 2 million copies worldwide and have been translated into all major foreign languages. He is the author of the best-sellers Teach Yourself C and Teach Yourself C++. He has also written The Annotated ANSI C Standard, C: The Complete Reference, C++: The Complete Reference, and numerous other books on C and C++.

Table of Contents

1: Data Types, Variables, and Constants 2: Functions, Scopes, Namespaces, and Headers 3: Operators 4: The Preprocessor and Comments 5: Keyword Summary 6: The Standard C I/O Functions 7: The String and Character Functions 8: The C Mathematical Functions 9: The C++ Mathematical Functions 10: Time, Date, and Localization Functions 11: The Dynamic Allocation Functions 12: Miscellaneous Functions 13: The Wide-Character Functions 14: The Old-Style C++ I/O System 15: The ANSI/ISO Standard C++ I/O Classes 16: The C++ Standard Template Library 17: The C++ String, Exception, Complex, and Pair Classes 18: Library Features Added by C99 19: The .NET Managed Extensions to C++

Introduction

C and C++ are the world's most important programming language: Indeed, to be a professional programmer today implies proficiency in these two languages. They are the foundation upon which modern programming is built.

C was invented by Dennis Ritchie in the 1970s. C is a middle-level language. It combines the control structures of a high-level language with the ability to manipulate bits, bytes, and pointers (addresses). Thus, C gives the programmer nearly complete contra over the machine. C was first standardized late in 1989 when the American National Standards Institute (ANSI) standard for C was adopted. This version of C is commonly referred to as C89. This standard was also adopted by ISO (International Standards Organization). C89 was amended slightly in 1995.

C++ was created by Bjarne Stroustrup, beginning in 1979. The development and refinement of C++ was a major effort, spanning the 1980s and most of the 1990s. Finally, in 1998 an ANSI/ISO standard for C++ was adopted. In general terms, C++ is the object-oriented version of C. C++ is built upon the foundation of C89, including its 1995 amendments. In fact, the version of C defined by C89 is commonly referred to as the "C subset of C++," Although C++ began as a set of object-oriented extensions to C, it soon expanded into being a programming language in its own right. Today, C++ is nearly twice the size of the C language. Needless to say, C++ is one of the most powerful computer languages ever devised.

In 1999, a new ANSI/ISO standard for C was adopted. This version is called C99. It includes a number of refinements and several new features. Some of these "new" features were borrowed from C++, but some are entirely new innovations. Thus, several of the elements added by C99 are incompatible with C++. This means that with the advent of C99, Standard C is no longer a pure subset of C++, Fortunately, many of the incompatibilities relate to special-use features that are readily avoided. Thus, it is still easy to write code that is compatible with both C and C++. At the time of this writing, no major compiler currently accepts all of the C99 additions, but this is sure to change.

The following table synopsizes the relationships between C89, C99, and C++.

C89      The original ANSI/ISO standard for C. C89 is what most programmers today think of as C.
C++      The object-oriented version of C. The current ANSI/ISO standard for C++ is built upon C89. Thus, C89 forms a subset of C++.
C99      The latest standard for C. Includes all of C89, but adds several new features. Some of the new features are not supported by the current standard for C++.

The material in this book describes C89, C99, and C++, When a feature is unique to one of these, it will be so flagged. Otherwise, you can assume that the feature applies to all three.

As you are undoubtedly aware, C and C++ are large topics. It is, of course, not possible to cover every aspect of these important languages here. Instead, this quick reference distills their most salient features into a convenient and easy to use form.

From the B&N Reads Blog

Customer Reviews