C++_Third Edition

by Amazing Books

This is the third edition of C++: The Complete Reference. In the years that have transpired since the second edition, C++ has undergone many changes. Perhaps the most important is that it is now a standardized language. In November of 1997, the ANSI/ISO committee charged with the task of standardizing C++, passed out of committee an International Standard for C++. This event marked the end of a very long, and at times contentious, process. As a member of the ANSI/ISO C++ committee, I watched the progress of the emerging standard, following each debate and argument. Near the end, there was a world-wide, daily dialogue, conducted via e-mail, in which the pros and cons of this or that issue were put forth, and finally resolved. While the process was longer and more exhausting than anyone at first envisioned, the result was worth the trouble. We now have a standard for what is, without question, the most important programming language in the world.

During standardization, several new features were added to C++. Some are relatively small. Others, like the STL (Standard Template Library) have ramifications that will affect the course of programming for years to come. The net effect of the additions was that the scope and range of the language were greatly expanded. For example, because of the addition of the numeric library, C++ can be more conveniently used for numeric processing. Of course, the information contained in this edition reflects the International Standard for C++ defined by the ANSI/ISO committee, including its new features.

What's New in the Third Edition
The third edition of C++: The Complete Reference is greatly expanded beyond its predecessor. In fact, the length of the book has nearly doubled! The main reason for this is that the third edition now includes comprehensive coverage of both the standard function library and the standard class library. Neither of these were sufficiently well defined when the second edition was being prepared to warrant inclusion. With the standardization of C++ being complete, these topics can finally be added.

Aside from these major additions, the third edition also includes a substantial amount of new material scattered throughout the book. Most is the result of features that have been added to C++ since the previous edition was prepared. New or expanded coverage includes the following topics: the Standard Template Library, run-time type ID (RTTI), the new casting operators, new features of templates, namespaces, new-style headers, and the modern-style I/O system. Also, some fundamental changes to the way new and delete are implemented are described and several new keywords are discussed.

Frankly, if you have not taken a close look at C++ for the past few years, you will be surprised at how much it has grown and how many new features have been added. It's not the same old C++ that you learned years ago.

What's Inside
This books covers in detail all aspects of the C++ language, including its foundation: C.
The book is divided into these five parts:
_ The C Subset —The foundation of C++
_ The C++ language
_ The Standard Function Library
_ The Standard Class Library
_ Sample C++ applications

Part One provides a comprehensive discussion of the C subset of C++. As most readers will know, C is the foundation upon which C++ was built. It is the C subset that defines the bedrock features of C++, including such things as for loops and if statements. It also defines the essential nature of C++'s block structure, pointers, and functions. Since many readers are already familiar with and proficient in C, discussing the C subset separately in Part One prevents the knowledgeable C programmer from having to "wade through" reams of information he or she already knows. Instead, the experienced C programmer can simply turn to the sections of this book that cover the C++-specific features.

Part Two discusses in detail the extensions and enhancements to C added by C++. These include its object-oriented features such as classes, constructors, destructors, and templates. Thus, Part Two covers those constructs that "make C++, C++." Part Three describes the standard function library and Part Four examines the standard class library, including the STL (Standard Template Library). Part Five shows two practical examples of applying C++ and object-oriented programming.

A Book for All Programmers
This C++ reference is designed for all C++ programmers, regardless of their experience level. It does assume, however, a reader able to create at least a simple program. If you are just learning C++, this book will make an excellent companion to any C++ tutorial and serve as a source of answers to your specific questions. Experienced C++ pros will find the coverage of the many new features added by the International Standard especially useful.

If You're Using Windows
If your computer uses Windows, then you have chosen the right language. C++ is completely at home with Windows programming. However, none of the programs in this book are Windows programs. Instead, they are console-based programs. The reason for this is easy to understand: Windows programs are, by their nature, large and complex. The overhead required to create even a minimal Windows skeletal program is 50 to 70 lines of code. To write Windows programs that demonstrate the features of C++ would require hundreds of lines of code each. Put simply, Windows is not an appropriate environment in which to discuss the features of a programming language.

However, you can still use a Windows-based compiler to compile the programs in this book because the compiler will automatically create a console session in which to execute your program.

Don't Forget: Code On The Web
Remember, the source code for all of the programs in this book is available free-of-charge on the Web at http://www.osborne.com. Downloading this code prevents you from having to type in the examples.

For Further Study
C++: The Complete Reference is your gateway into the "Herb Schildt" series of programming books. Here is a partial list of Schildt's other books.

If you want to learn more about C++, then you will find these books especially helpful.
C++ From the Ground Up
Teach Yourself C++
Expert C++

If you want to learn more about C, the foundation of C++, we recommend
Teach Yourself C
C: The Complete Reference
The Annotated ANSI C Standard

If you will be developing programs for the Web, you will want to read

Java: The Complete Reference
co-authored by Herbert Schildt and Patrick Naughton.
Finally, if you want to program for Windows, we recommend

Windows 98 Programming From the Ground Up
Windows NT 4 From the Ground Up
MFC Programming From the Ground Up

When you need solid answers, fast, turn to Herbert Schildt, the recognized authority on programming.

Download: C++_Third Edition

0 comments:

Post a Comment

On Writing By Stephen King

by Amazing Books

In the early nineties (it might have been 1992, but it’s hard to remember when you’re having a good time) I joined a rockand- roll band composed mostly of writers. The Rock Bottom Remainders were the brainchild of Kathi Kamen Goldmark, a book publicist and musician from San Francisco. The group included Dave Barry on lead guitar, Ridley Pearson on bass, Barbara Kingsolver on keyboards, Robert Fulghum on mandolin, and me on rhythm guitar. There was also a trio of “chick singers,” à la the Dixie Cups, made up (usually) of Kathi, Tad Bartimus, and Amy Tan. The group was intended as a one-shot deal—we would play two shows at the American Booksellers Convention, get a few laughs, recapture our misspent youth for three or four hours, then go our separate ways.

It didn’t happen that way, because the group never quite broke up. We found that we liked playing together too much to quit, and with a couple of “ringer” musicians on sax and drums (plus, in the early days, our musical guru, Al Kooper, at the heart of the group), we sounded pretty good. You’d pay to hear us. Not a lot, not U2 or E Street Band prices, but maybe what the old timers call “roadhouse money.” We took the group on tour, wrote a book about it (my wife took the photos and danced whenever the spirit took her, which was quite often), and continue to play now and then, sometimes as The Remainders, sometimes as Raymond Burr’s Legs. The personnel comes and goes—columnist Mitch Albom has replaced Barbara on keyboards, and Al doesn’t play with the group anymore’ cause he and Kathi don’t get along—but the core has remained Kathi, Amy, Ridley, Dave, Mitch Albom, and me. . . plus Josh Kelly on drums and Erasmo Paolo on sax.

We do it for the music, but we also do it for the companionship. We like each other, and we like having a chance to talk sometimes about the real job, the day job people are always telling us not to quit. We are writers, and we never ask one another where we get our ideas; we know we don’t know. One night while we were eating Chinese before a gig in Miami Beach, I asked Amy if there was any one question she was never asked during the Q-and-A that follows almost every writer’s talk—that question you never get to answer when you’re standing in front of a group of author-struck fans and pretending you don’t put your pants on one leg at a time like everyone else. Amy paused, thinking it over very carefully, and then said: “No one ever asks about the language.” I owe an immense debt of gratitude to her for saying that. I had been playing with the idea of writing a little book about writing for a year or more at that time, but had held back because I didn’t trust my own motivations—why did I want to write about writing? What made me think I had anything worth saying?

The easy answer is that someone who has sold as many books of fiction as I have must have something worthwhile to say about writing it, but the easy answer isn’t always the truth.

Colonel Sanders sold a hell of a lot of fried chicken, but I’m not sure anyone wants to know how he made it. If I was going to be presumptuous enough to tell people how to write, I felt there had to be a better reason than my popular success. Put another way, I didn’t want to write a book, even a short one like this, that would leave me feeling like either a literary gasbag or a transcendental asshole. There are enough of those books—and those writers—on the market already, thanks. But Amy was right: nobody ever asks about the language. They ask the DeLillos and the Updikes and the Styrons, but they don’t ask popular novelists. Yet many of us proles also care about the language, in our humble way, and care passionately about the art and craft of telling stories on paper. What follows is an attempt to put down, briefly and simply, how I came to the craft, what I know about it now, and how it’s done. It’s about the day job; it’s about the language. This book is dedicated to Amy Tan, who told me in a very simple and direct way that it was okay to write it.

Download: On Writing By Stephen King

0 comments:

Post a Comment