Amazon.com: C++ for Dummies (4th Edition, Completely Revised) (0785555037533): Stephen R. Davis: Books
C++ For Dummies (For Dummies (Computers)) and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Have one to sell? Sell yours here
C++ for Dummies (4th Edition, Completely Revised)
 
 
Start reading C++ For Dummies (For Dummies (Computers)) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C++ for Dummies (4th Edition, Completely Revised) [Paperback]

Stephen R. Davis (Author)
2.8 out of 5 stars  See all reviews (95 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $14.99  
Paperback --  
There is a newer edition of this item:
C++ For Dummies C++ For Dummies 3.2 out of 5 stars (12)
$17.72
In Stock.

Book Description

January 2000 076450746X 978-0764507465 4
Unlike other C++ programming books, C++ For Dummies considers the "why" just as important as the "how." The features of C++ are like pieces of a jigsaw puzzle. Rather than just present the features, this book will help you to really understand how they fit together. After you finish this book, you'll be able to write a reasonable C++ program, and, just as important, you'll understand why and how it works.

C++, as the name implies, is the next generation of the C programming language. The experienced C programmer will find C++ both exciting and frustrating. This book will help you get from C to C++ as painlessly as possible; however, C++ For Dummies, 4th Edition, doesn't assume that the reader knows anything about C language. Anyone, from any programming background, will quickly discover how to

  • Write your first program
  • Create source code
  • Use the Visual C++ help system
  • Build objects
  • Develop C++ pointers
  • Debug your programs

This fourth edition of C++ For Dummies begins with basic programming concepts. The book works its way through simple syntax into the care and feeding of basic programs right into object-oriented concepts. Once you've digested the entire content of the book, you should have no trouble impressing your friends and acquaintances at parties. You'll find coverage of all these topics, and more:

  • Declaring variables
  • Performing logical operations
  • Executing loops in a program
  • Writing and using functions
  • Passing pointers to functions
  • Passing objects to functions
  • Using constructors and destructors
  • Declaring static member functions
  • Implementing abstract classes
  • Overloading the assignment operator

C++ For Dummies does not cover Windows programming. Finding out how to program Windows in C++ is really a two-step process. First, you need to master C++. That accomplished, you can move on to Windows programming.



Editorial Reviews

Review

"...remains a strong contender among object-oriented programming languages". (Library Journal, October 1, 2004) --This text refers to an out of print or unavailable edition of this title.

From the Back Cover

GNU compiler and all code from the book on CD-ROM

Object-oriented programming — explained in plain English

Your first aid kit® for building and debugging your programs Now updated to cover the latest ANSI C++ standards, this friendly guide gives you a C++ jump start with expanded coverage of beginning programming techniques. From classes and hierarchies to libraries, the easy-to-follow explanations of object-oriented and non-object-oriented C++ concepts and the step-by-step instructions will have you programming in no time. all this on the bonus CD-ROM The C++ GNU compiler, plus all code and programming syntax from the book PC running Windows 95 or later or Windows NT 4 or later. See the About the CD Appendix for further requirements and details.

Discover how to: Write your first program Create source code Use the Visual C++ help system Build objects Develop C++ pointers Debug your programs

Get smart! www.dummies.com Register to win cool prizes Browse exclusive articles and excerpts Get a free Dummies Daily e-mail newsletter Chat with authors and preview other books Talk to us, ask questions, get answers


Product Details

  • Paperback: 425 pages
  • Publisher: For Dummies; 4 edition (January 2000)
  • Language: English
  • ISBN-10: 076450746X
  • ISBN-13: 978-0764507465
  • Product Dimensions: 9.1 x 7.3 x 1.2 inches
  • Shipping Weight: 1.6 pounds
  • Average Customer Review: 2.8 out of 5 stars  See all reviews (95 customer reviews)
  • Amazon Best Sellers Rank: #883,845 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

95 Reviews
5 star:
 (18)
4 star:
 (15)
3 star:
 (16)
2 star:
 (21)
1 star:
 (25)
 
 
 
 
 
Average Customer Review
2.8 out of 5 stars (95 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

101 of 107 people found the following review helpful:
5.0 out of 5 stars Absolute First Stop for Beginning Programmers, July 20, 2000
By 
Alan S. Golub (Totowa, New Jersey USA) - See all my reviews
(REAL NAME)   
This review is from: C++ for Dummies (4th Edition, Completely Revised) (Paperback)
I've been looking for just the right introduction to programming for some time. I've spent more than a dozen hours combing through the shelves in my local Borders and B&N, skimming over 50 so-called "introductory" texts, looking for one that I could really learn from. By way of background, I am an advanced computer user/tinkerer, but I'm completely inexperienced in the field of programming -- never so much as typed a lick of code.

In reviewing other books, I didn't want to start with a book about C, because conventional wisdom says that it's a bad idea to start with C (a procedural language) if you plan to use it to jumpstart a study of C++ or java (hybrid OOP languages). I also didn't want to start with a book on QBasic, because it seems to me that the language is pretty much obsolete. For me, I wanted to learn OOP, and that meant a commitment to C++ and/or java (preferably both, as each has its strengths and weaknesses, and they are similar and popular enough to study together).

That said, I looked at somewhat advanced introductory books by Deitel, Savitch, and Horton, all of which are extremely well-reviewed here on Amazon. I also looked at several books from Microsoft Press, as I planned on learning by using components of the Visual Studio. Horton's Beginning C++ came close, but its massive size and more advanced approach left me looking for a different introductory text (I plan on returning to Horton's book though, to supplement what I learn from Mr. Davis' book).

Finally, this new edition of C++ for Dummies came out just in time. This book really hits the mark on many levels: (1) it assumes no knowledge of programming; (2) it does a great job of explaining truly complex topics without going overboard or hitting you over the head; (3) it is clear and entertaining; and (4) it is new and compliant with the latest standards, which is more than I can say for books written, say, pre-1998.

Do yourself a favor -- if you have no programming experience and want to learn a cutting edge OOP language like C++ or java, start here, then use that knowledge to branch out to more advanced material. Personally, I'm supplementing this reading with Horton's Beginning C++ and Beginning Java 2 (JDK 1.3 Version), and Bruce Eckel's highly praised Thinking in Java.

Good luck!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


27 of 28 people found the following review helpful:
3.0 out of 5 stars This C++ developer came away impressed, December 19, 2003
By 
Stephen Foster (Seattle, WA United States, via Scotland) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: C++ for Dummies (4th Edition, Completely Revised) (Paperback)
Background (why you might care what I think): I've programmed and taught programming for 20+ years, in time migrating to C++.

The title, of course, is an oxymoron: You are mistaken if you think you can master C++ without sooner or later being able to chew your way through the following:

"It has always been possible to overload a member function in one class with a member function in another class. With inheritance, however, you can overload a base class member function with a member function in a subclass as well."

However, by the time this book gets to where that quote is lifted from (roughly halfway through), Mr. Davis has done quite a credible job of preparing you for it. He sometimes falls down badly: his explanation of pointers completely neglects to mention the implicit referencing that is part of every normal assignment statement. The expression "variableX = variableY" (in all computer languages) actually means "the address pointed to by variableX is assigned the value pointed to by variableY", not "variableX is given the value of variableY". Most students would be much less confused by pointers if he had started his discussion by pointing out that all variables are actually pointers by nature.

Given the rather astonishing subtlety, complexity, and even beauty of full-bore C++, 400-odd pages are not going to make you into an overnight master (reading Stroustrup is the only way to do that) . The pace is extremely rapid, but the author succeeds fairly well in what he sets out to do, which is to explain the most complex computer language (by far) in clear and understandable terms.

If you have no programming background and no outside help, you will be quickly lost. And yet I firmly believe that C++ is the best language for a beginning programmer to start with, even if for no other reason than to avoid the development of bad habits.

I am still searching for a book that will thoroughly explain the fundamentals of programming from the ground up, using C++ as the starting point. However, if you do have some programming experience, and want to bootstrap your way to C++, this book is a good choice.

The "humour", on the other hand...

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


22 of 24 people found the following review helpful:
1.0 out of 5 stars Riddled with errors / typos and assumes prior knowledge, December 12, 2004
By 
R. Meerman (Warwick, UK | Paphos, CY | Sarawak, ML) - See all my reviews
(REAL NAME)   
This review is from: C++ for Dummies (4th Edition, Completely Revised) (Paperback)
I'm in my 3rd year Computer Science studies, and am coming from a Java background after fiddling with C/C++ on embedded systems and decided some structured learning was needed.

On the whole this book rambles quite a bit, but that's to be expected for something aimed at beginninger - however this means that most of the learning meat is learnt from examples; which is a very bad thing as there are a lot of inconsistencies between the example code and the passage describing it.

Specific examples of what I mean:

On page 46 the author says that theoretically 10.0 == (100 % 10), and says to revise the modulo operator if you're confused. I'm pretty certain that 100 / 10 does not have a remainder, and hence that 100 % 10 = 0, and not 10 as the book states.

On pages 52-53 the passage says the code takes two numbers from the keyboard and does something with them, while the code does in-fact instantiate the variables directly, and does not accept any input at all.

There are also plenty of typos, both in the general writing ("was is 0x6 | 0x3?") and the code (page 52 "0x2" is written as "0x[subscript 2]").

Some of what is said is just plain wrong, for instance there are 8 bits in a byte, not 4. (Page 49).

I also got the impression that prior knowledge is being assumed, there are terms and concepts used casually, such as the default word length on an average PC is 32bit, without making it clear what this means - ints and floats were described in terms of what values they could contain, not their binary lengths.

And finally many important concepts are not explained fully, such as XOR, which does not even have a description in the operator table on page 50, it does have a partial truth-table though - why the other two cases were not included I have no idea, certainly my understanding of XOR did not come from this book.

I'm seriously glad that I'm borrowing this book, and didn't buy it myself. It seems to cover all the important topics, just not very cleanly, and I certainly wouldn't dream of inflicting it on a beginner. It's merely annoying if you have enough prior knowledge (of binary and how computers work with it, of logic (NOT, AND, OR, XOR) etc).
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
Okay, so here we are. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
virtual void withdrawal, graduation float gpa, float grade, return gpa, other public members, virtual void display, int dollars, ream object, constructing student, result cout, making nachos, int hours, copy constructor, void parent, precompiled headers, prototype declaration, static data members, static member function, int cents, pointer version, student randy, int arg, pure virtual function, char name, open brace
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Main Street, Microsoft Visual, Creating Pointers, Stephen Davis, While Demo
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
How is the closed Lorentzt group of Special Relativity related to "g(0)" the metric tensor of General relativity? 6 57 seconds ago
Abiogenesis be Manned- There is no evidence for life having started naturally on Earth. 1336 1 minute ago
I just received a "very good" textbook without its disc - what are your thoughts? 170 35 minutes ago
Can evolution produce a Supreme Being? 531 43 minutes ago
Really and finally - this forum and probably most others is the domain of lunatics 67 56 minutes ago
Global warming is nothing but a hoax and a scare tactic 395 1 hour ago
was the moon landing real or fake, and why? 1779 2 hours ago
sellers are deceivers 3 4 hours ago
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject