- Shopping Bag ( 0 items )
Ships from: acton, MA
Usually ships in 1-2 business days
|1||Data Types, Variables, and Constants||1|
|2||Functions, Scopes, Namespaces, and Headers||19|
|4||The Preprocessor and Comments||51|
|6||The Standard C I/O Functions||97|
|7||The String and Character Functions||125|
|8||The C Mathematical Functions||139|
|9||The C++ Mathematical Functions||161|
|10||Time, Date, and Localization Functions||169|
|11||The Dynamic Allocation Functions||179|
|13||The Wide-Character Functions||203|
|14||The Old-Style C++ I/O System||213|
|15||The ANSI/ISO Standard C++I/O Classes||235|
|16||The C++ Standard Template Library||261|
|17||The C++ String, Exception, Complex, and Pair Classes||309|
|18||Library Features Added by C99||329|
|19||The .NET Managed Extensions to C++||339|
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.
Posted February 26, 2001
If only every reference manual were setup like this. The index and the table of contents are thorough and every single command, keyword or function has an entry in the index and table of contents. Items are grouped together in a very logical and useful fasion so if you know generally what you need it doesn't take long to flip through compare a few commands to find the right one. Each function definition also has a footnote to related functions to help you find just the right one and to help you expand your vocabulary. Every little keyword that could go along with an item is either on the page with it or has a reference to the page that it can be found at. The syntax and semantics are easy to interpret and have always had what I needed to know. The longest it has probably ever taken me to find what I needed from this book is two minutes ( I'm a slow reader ). I program in C at times and C++ at others, it works great for both.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted January 26, 2001
I first read this book in the store, and after seeing what it had to offer, I absolutely had to buy it. It is, in my opinion, the greatest mini-reference to C and C++ I've ever seen. It gives good explainations of many different C concepts and practices, and explains all the ANSI functions in the reference. Best if you already have some experience with C. It doesn't teach very well from scratch, but it will enhance your existing knowledge. Also makes a great reference, even gives a brief history!Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted April 14, 2000
Looking for a good reference? This is it. I wasted my money on other references, but this one is the most complete. Contains some code examples, and very good explanations. If you are looking for that perfect reference this is it!Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted April 7, 2010
No text was provided for this review.