Showing posts with label c plus plus. Show all posts
Showing posts with label c plus plus. Show all posts

C++ Programming: From Problem Analysis to Program Design Review

C++ Programming: From Problem Analysis to Program Design
Average Reviews:

(More customer reviews)
Although the author is obviously very knowledeable of the subject, the content seems out of order and examples incomplete. Malik builds from previous code, so often times you have to flip back to previous chapters to see complete code. Malik does not explain some concepts clearly, often referring to lines or blocks of code as "self explanatory". Lots of good information, but I learned more from my instructor's supplementary materials and from trial and error.

Click Here to see more reviews about: C++ Programming: From Problem Analysis to Program Design

Now in its fourth edition, C++ Programming: From Problem Analysis to Program Design remains the definitive text for CS1 courses. Best-selling author D.S. Malik employs a student-focused approach, using complete programming examples to teach introductory programming concepts. This fourth edition has been enhanced to further demonstrate the use of OOD methodology, to introduce sorting algorithms (bubble sort and insertion sort), and to present additional material on abstract classes. In addition, the exercise sets at the end of each chapter have been expanded to include several calculus and engineering-related exercises.All programs have been written, compiled, and quality-assurance tested with Microsoft Visual C++ .NET, available as an optional compiler with this text. C++ Programming: From Problem Analysis to Program Design, Fourth Edition is the ideal text to motivate your students as they learn the theory behind programming.

Buy Now

Click here for more information about C++ Programming: From Problem Analysis to Program Design

Read More...

Object Oriented Programming In C++ Review

Object Oriented Programming In C++
Average Reviews:

(More customer reviews)
This book covers the important aspects of OO approach as well as the STL for C++. It is definitely not suitable for those who have no programming experience in C, and indeed, I find that one actually even needs to have a little knowledge of C++ to benefit from the book. The first two chapters let the C programmer make a transition to C++, and explain clearly on input and output in C++. The next three chapters then strive to explain the OO features in C++.
Generally, the book goes at lengths to illustrate classes in C++ and their workings, and offers many tips and traps as well as certain programming styles and approaches which would produce robust programs. The worked examples were also quite comprehensive. However I feel that the concepts of OO were not well illustrated, and from my experience, a thorough understanding of OO concepts help very much in being able to manipulate classes and using the methods in C++. The chapter on MFC was not very useful, it really looked as if it was just there to fill in space. It does not teach much about MFC.
All in all, however, I would still consider it a fairly good book to keep as a reference.

Click Here to see more reviews about: Object Oriented Programming In C++

A valuable handbook/reference for professionals who need to learn C++ and master its latest updates, this exceptionally organized, #1-rated guide teaches the power and flexibility of the C++ programming language through object-oriented programming applications. Examines the most up-to-date C++ features, including new-style headers, new-style casts, type bool, type string, stringstream classes, namespaces, namespace std., exception handling, run-time type identification, operator new , the template input/output classes, and more. Offers complete coverage on STL (standard template library), including containers, iterators, algorithms, and function objects; the standard input/output library IN DETAIL; and the Microsoft Foundation Classes. Contains an extensive number of well-constructed examples, beautifully fashioned sample applications, interesting and practical programming exercises, boxed figures and vibrant illustrations. A companion web site providesthe book's source code, header files, and data files; sample syllabi; transparencies; and an errata list. For professionals in computer science and related fields.--This text refers to the Paperback edition.

Buy Now

Click here for more information about Object Oriented Programming In C++

Read More...

C++: The Complete Reference Review

C++: The Complete Reference
Average Reviews:

(More customer reviews)
A little background: I've been programming professionally for 3 years now using VB, SQL, HTML, JavaScript, XML and occasional C. I would consider myself at intermediate/journyman level, striving to be Guru level (I'm perhaps there in VB, but not the other languages). Now my job is calling for more usage of C/C++ and thus I am striving to get at more than just a basic level with these languages. This background information is important because different books are appropriate for different experience/proficiency levels and thus someone can gage my review to their needs or to their experience level.
When I was converting to being a programmer, one of my courses was on C. The text was "A Book On C". This was probably the worst programming book I've ever used - it was poorly indexed, gave [poor] examples (for the beginner) and was difficult to read. I now own a copy of K & R's "The C Programming Language", which is much better and regarded by many to be the best C book of all. I like it, but it's not the best learning book, being terse and sometimes a bit confusing in it's explainations. K&R is an authoritative refernece. I've also thumbed through extensively Stroustrups' "The C++ Programming Language" at the bookstore. Again, this is a definetive reference, but not a good learning book. These books are written by and meant for experienced and/or advanced C/C++ programmers.
On the flip side of the coin are the "...For Dummies", "The Complete Idiots guide to..." and "Teach Yourself..." series books, which I've thumbed through the cooresponding C books at the bookstore. These books are good primers and are easy to understand. However, they are incomplete in their coverage of their subject and are of spotty quality.
So where's the happy medium? The answer is simple: "C++: The Complete Reference". This book has extremely thorough coverage of the subject (not as thorough as Stroustrups' book, but thorough nonetheless) and is extremely easy to understand. I love the presentation - it's simple, practical, to the point and quite enjoyable. When I read about a subject, say a function pointer or inheritance, and compile it's example, I have fun doing it and I feel I come away with a solid understanding without risidual confusion (risidual confusion sometimes occurs with K&R or Stroustrup). Also, when I want to look up something that I need to use, say a library function, I can find it immediately in the index, turn to the various pages that are referenced, and be able to use the function immediately and effectively.
I love the Osborne "Complete Reference" format for it's oganizational and presentation styles and I love Herb Schildts writing. He's a C/C++ guru (having been on the ANSI/ISO C++ standardization committee) and posesses excellent communications and teaching skills. He really understands the perspective of someone trying to learn C++ or improve on their C++ skills. There's a very good reason why he's the worlds highest selling C++ author.
This book is great for beginning and intermediate C++ programmers (and even good for C++ gurus as an easy and quick reference). It wouldn't be good for someone brand new to programming (these people should stick with beginning programming books).
Also consider what a tremendous value this book is. ... And the similarily priced "...For Dummies" and "Teach Yourself..." books don't contain nearly as much as this book. With this book you get an incredible amount of bang for your buck.
I can't rave enough about this book. It's thorough, well organized, easy to understand, enjoyable to read, extremely effective, and an absolute bargain. It's a must have for all levels of C++ programmers.

Click Here to see more reviews about: C++: The Complete Reference

Providing a comprehensive reference to programming language, C++, this text includes: coverage of the updated ANSI C++ standard; a description of the current root of C++; details of C++'s OOP components and classes; and tips on effective C++ software application development.

Buy Now

Click here for more information about C++: The Complete Reference

Read More...

Practical C++ Programming, Second Edition Review

Practical C++ Programming, Second Edition
Average Reviews:

(More customer reviews)
Practical C++ Programming is dedicated to teaching the reader how to program in the C++ programming language. I make this seemingly redundant statement because upon first hearing the title I thought the book may have been intended as a guide for teaching experienced C++ programmers how to avoid the pitfalls of bad object oriented practices using the language. Quite the contrary, this book is designed to teach anyone, from complete beginner to experienced programmer, how to program in C++. The book has four goals:
1. Teach the reader C++.
2. Instill good programming style and practice (indeed, the book's subtitle is "Programming Style Guidelines.")
3. Teach the programmer basic software development concepts.
4. Introduce the reader to debuggers and the make utility.
Practical C++ Programming is a fairly large book: 549 pages organized into six "parts" containing 30 chapters and 5 appendixes. The parts are as follows: Part I - The Basics, Part II - Simple Programming, Part III - Advanced Types and Classes, Part IV - Advanced Programming Concepts, Part V - Other Language Features, Part VI - Appendixes. You will have to read most of the book in order to learn C++, although there are a number of chapters you can avoid if your goal is to learn only the language's mechanics.
I must start by saying that I like the book, I think it has value. There are a number of things I really appreciate about the book. There are also some problems that adversely impact the book's use by beginners (more about those later.)
The book discusses all the essential elements of C++. Areas covered include: Class definition, namespaces, scope definition and resolution, operator and function overloading, object memory allocation (i.e. new and delete,) type casting, exceptions, inheritance, templates (including an introduction to the Standard Template Library,) the Input/Output system (including the C I/O library,) and pointers. All language operators are discussed (i.e. relational, assignment, etc.) Also covered are language elements that C++ has in common with C. The other areas of instruction (programming style, software development concepts, programming tools) are intertwined with the primary topic throughout the course of the book.
One of the book's strong points is the author's excellent conversational writing style. Its hard to find books that combine good technical information with clear expository writing (O'Reilly seems to publish most of them.) Practical C++ Programming definitely succeeds in this area. The author frequently references his own experience to reinforce concepts on programming style, design and debugging. I found his anecdotes useful and occasionally humorous. The book also contains small sections of text that serve to warn the reader of pitfalls (these are marked with a bear trap icon) and areas where caution should be exercised (marked with bear paw tracks.) Also, some of the source code examples contain intentional bugs, which the author explains at the end of each chapter. Diagrams, tables and source code examples are found on almost every page of the book, and these are used to keep the reader engaged with the textual discourse. Some of the diagrams are very well done.
The book contains some interesting programming examples. The chapters on operator overloading and floating point math contain source code illustrating how to deal with the numeric precision problems that plague all computers and computer languages. The chapter on the Standard Template Library contains a program showing how to create and use objects that manage a simple roster for enrollment and grading of students. The book also contains several examples of linked-lists and trees, for the purpose of teaching the reader how to use pointers, and to contrast such traditional algorithms with the easier to use C++ Standard Template Library.
Now to speak about the book's shortcomings. First, although the book does a solid job of covering the important C++ topics of classes, inheritance, and templates, it needs to explain more than it does (especially the coverage of inheritance.) Also, the terms instantiation, polymorphism and encapsulation are not used in the book. It seems that the author doesn't want to confuse the reader with object-oriented concepts. The book should have provided more insight into object-oriented concepts, given that C++ supports objects. This could have been done in a separate chapter. Also, these areas of the book are sparsely diagrammed. Second, source code errors and typos appear regularly enough to frustrate an inexperienced reader. I also found a couple of diagrams to be inaccurate. Third, there are occasional misleading statements that a beginner probably won't recognize as such. Because of these problems, I cannot recommend the book to people with no previous programming experience. I'm surprised that these problems made it into a second edition.
I think that despite these problems, the book has value to experienced programmers who want to learn C++. C programmers in particular will have an easier time dealing with the source code errors. The book can be used by beginning programmers in a classroom environment, providing the instructor understands the book's problems and is prepared to guide students around them. The book should be particularly useful when read in conjunction with a good C++ reference guide.
Practical C++ Programming is an ambitious work in its breadth and depth. It covers more areas of software development than other C++ books. It takes an interesting approach that some readers will appreciate and others may not. I'm currently undecided on the appropriateness of chapters on debuggers, the make utility, and the code review process. These topics may side-track many beginners.
I would have liked to see a more detailed and complete explanation of the object-oriented aspects of C++ (including more diagrams.) It would have been nice to include a table showing all Standard Template Library containers and methods (the book does make reference to two STL web sites.) Some mention of third-party object libraries (such as Rogue Wave, Qt, etc.) and their uses would have been helpful.
The lack of a detailed explanation of inheritance may not be bad. I'm one of those who believe that heavy reliance on inheritance causes serious maintainability problems. However, I think the book should have covered this topic more fully, so the reader would understand the issue.
O'Reilly & Associates is my favorite technical book publisher. However, some of the books I've read from this publisher contain numerous programming errors in the source code examples. I've been able to overlook these problems because I'm an experienced software developer and I appreciate the really outstanding job their authors do in explaining subject matter. Their book Pthreads Programming is a prime example of this. However, these problems cause concern when I read one of their books on a topic that I don't understand very well. It appears that O'Reilly needs to improve the technical review of their books before they go to press. I understand the difficulty of this when few experts on a particular topic may exist (not the case with C++.) Publishers may also be reluctant to hire outside editors due to non-disclosure concerns.
In summary, Practical C++ Programming is a good book that really shines in some aspects and is deficient in others. With some improvement, it could be a great book.

Click Here to see more reviews about: Practical C++ Programming, Second Edition


C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize and process information quickly and effectively. But this high-level language is relatively difficult to master, even if you already know the C programming language.

The 2nd edition of Practical C++ Programming is a complete introduction to the C++ language for programmers who are learning C++. Reflecting the latest changes to the C++ standard, this 2nd edition takes a useful down-to-earth approach, placing a strong emphasis on how to design clean, elegant code.

In short, to-the-point chapters, all aspects of programming are covered including style, software engineering, programming design, object-oriented design, and debugging.It also covers common mistakes and how to find (and avoid) them. End of chapter exercises help you ensure you've mastered the material.

Practical C++ Programming thoroughly covers:

C++ Syntax
Coding standards and style
Creation and use of object classes
Templates
Debugging and optimization
Use of the C++ preprocessor
File input/output
Steve Oualline's clear, easy-going writing style and hands-on approach to learning make Practical C++ Programming a nearly painless way to master this complex but powerful programming language.

Buy Now

Click here for more information about Practical C++ Programming, Second Edition

Read More...

C++: The Complete Reference, 4th Edition Review

C++: The Complete Reference, 4th Edition
Average Reviews:

(More customer reviews)
My older references are in storage and I thought it would be neat to have a c++ ref on my kindle. It says reference and the reviews are good, so I bought it.
I wanted to be reminded of how to use variable numbers of parameters for macro defines. Forget whether this is a good idea. It's a language feature and I want to know how it works.
#define with parameters is handled in one paragraph which doesn't even include the possibility of multiple parameters, let alone any details. Given this, I was curious to see if there was any discussion of the continuation-line functionality in the preprocessor. Nope. Not there.
I'm sure this is a wonderful c++ primer as the other reviews indicate. My spot check demonstrates that this is in no way a complete reference.
Even if you don't like a coding style, completeness allows you to read the code of others.
So I'm out $28 bucks and my question isn't answered. oh well.


Click Here to see more reviews about: C++: The Complete Reference, 4th Edition

Best-selling genius Herb Schildt covers everything from keywords, syntax, and libraries, to advanced features such as overloading, inheritance, virtual functions, namespaces, templates, and RTTI—plus, a complete description of the Standard Template Library (STL).

Buy Now

Click here for more information about C++: The Complete Reference, 4th Edition

Read More...

The C++ Programming Language: Special Edition Review

The C++ Programming Language: Special Edition
Average Reviews:

(More customer reviews)
This book is written in the way creator Bjarne Stroustrup sees his language and how his language should be used. This book is not thin on material for the intermediate to advanced C++ software engineer.
One word in warning to potential buyers: You better be sharp with your STL skills before reading this book. Stroustrup writes his implementations around the STL which is not covered from a tutorial style in this book before he introduces it, which tells you that he meant for this book strictly as a reference not as a readers book. This critism is constructive, not disruptive, but I have been programming in standard ANSI/ISO C++ for 9 years, this book is best understood if you read the following first, if not, this book for even an itermediate C++ program cannot be digested to the fullest and you will reading this book fooling yourself of how much knowledge you have attained, when in reality, all that you have accomplished is reading this book so that you can say that you read Stroustrup, which is foolish, so read these first:
1) C++ Primer 3rd Edition: Stanley Lippman Addison Wesley BooksStrengths: If you are starting out with C++ with no C++ experience, this book covers every facet beginner to advanced topics, such as fundamental classes, class design covering nested class and intense class scoping rules, which Stroustrups book does not cover, there is no reference to nested classes and access privileges with nested classes with Stroustrup's book. The chapters on function templates and another chapter on class templates are the most complete and thorough beyound what you need to know for richness is explained brilliantly and better than scant coverage in Stroustrup's. The C++ Primer is long though, so if you want to learn C++ the right way, skills like this take time and effort, there is no free lunches here, but this is regarded as the best C++ book regardless of level: starter, intermediate, or very advanced master. It also serves a robust reference. This books covers the STL containers well in its own chapter and also two chapter on all the STL algoritms, plus an extended alphabetically ordered repitition in type out of the book and compile form. This book is not for the faint hearted or lazy, if you are ambitious, this book will make you a C++ king. Also get its companion C++ Answer book with all answers to the books exercise questions from author Clovis L. Tondo, also an Addison Wesley title.
2) C++ Algorithms 3rd Edition by Robert Sedgewick also Addison Wesley books. Why? You seriouly have to know your date structure skills, linked lists, stacks, trees, queues and its accompanying algoritms, such as: searching and sorting, merging and merge sorting. Stroustrups books assumes you know how these all come together, if you do not believe this, then look at his stark and algorithmically complex data structure examples, once this is read everything will be a piece of cake, believe this, do not fool yourself.
3) The C++ Standard Library Tutorial and Reference from Nicolai Josuttis, from Addison Wesley also, this book is the defacto bible on mastering the STL, which covers brilliant chapters on containers( vectors, lists, maps, sets, deques, and much more ). It also covers a huge chapter on standard IO streams, at least over 150 pages on this alone, as well a masterful chapter on STL strings. This should be read after Sedgewick's book. This book like all Addison Wesley books, is of the highest qualitiy and caliber of writing making it fun to read and plenty of type out of the book samples to bang in the concept. This books brilliantly also tutors you in function objects, iterators and all its variants, and STL algorithms.
Last Word: Stroustrups book is definite worth in purchase and you cannot consider yourself a C++ software engineer, or C++ Software/Systems architect without having this book in your library, but patience and read books 1,2, and three first in that order. And wheh you do the above, and are ready to read Stroustup's book, one reminder, you must know your templates, know your templates, know your templates, also get the accompanying answer book, C++ Solutions, by Vandervoode also an Addison Wesley title.
Good Fortune.

Click Here to see more reviews about: The C++ Programming Language: Special Edition

More than three-quarters of a million programmers have benefited from this book in all of its editions

Written by Bjarne Stroustrup, the creator of C++, this is the world's most trusted and widely read book on C++.
For this special hardcover edition, two new appendixes on locales and standard library exception safety (also available at www.research.att.com/~bs/) have been added. The result is complete, authoritative coverage of the C++ language, its standard library, and key design techniques. Based on the ANSI/ISO C++ standard, The C++ Programming Language provides current and comprehensive coverage of all C++ language features and standard library components.
For example:
abstract classes as interfaces
class hierarchies for object-oriented programming
templates as the basis for type-safe generic software
exceptions for regular error handling
namespaces for modularity in large-scale software
run-time type identification for loosely coupled systems
the C subset of C++ for C compatibility and system-level work
standard containers and algorithms
standard strings, I/O streams, and numerics
C compatibility, internationalization, and exception safety
Bjarne Stroustrup makes C++ even more accessible to those new to the language, while adding advanced information and techniques that even expert C++ programmers will find invaluable.



Buy Now

Click here for more information about The C++ Programming Language: Special Edition

Read More...

C++ Programming Language, The (3rd Edition) Review

C++ Programming Language, The (3rd Edition)
Average Reviews:

(More customer reviews)
Bjarne Stroustrup's THE C++ PROGRAMMING LANGUAGE is ideal for those potential buyers who already know 75% of what is written in the book. But please note that this is not necessarily a put-down or a bad thing. This book is reference material for people who are already familiar with the concepts and syntax of C++. If you're looking to learn C++ from scratch, then run far and run quickly away from this book. On the other hand, if you're an experienced coder who's looking to remember specific details, or an intermediate who's looking for some nitty-gritty information, then this is a highly recommended reference book.
The writing is meticulous and often obscure. But Stroustrup packs in a lot of detail into every page. The example code is short and to the point. He assumes that if you don't get what he's talking about the first time, then further examples aren't going to help; and most of the time this assumption is justified, as his terse code manages to convey everything that it needs to.
You really do need to have experience with C++ to understand a lot of his examples though, as often he will casually mention a concept or function that he won't get around to defining for another few hundred pages. After all, most of the features in C++ interact heavily with other functions, so it's not really possible to explain some things without explaining their relationships (even if they are relating to things that the text has not yet brought up). But, as I said, this is reference material, and such conventions are allowable and, at times, encouraged. I am much happier with a book like this that gives me all of the detail necessary than an introductory book that would only offer simplistic explanations in the beginning while holding out for the details towards the end.
The book covers virtually every major aspect of the C++ programming language. While everything is richly explained, I find the sections on the standard containers and their iterators to be particularly enlightening. There is a lot of overlap inherent in these concepts, but each individual portion is clearly and unambiguously explained. The sections on pointers, classes, and inheritance are similarly helpful. But, to be honest, there is no reason for me to list everything that the book explains, because it literally contains everything; if it's not in the book, then in all likelihood it's not in the language either.
THE C++ PROGRAMMING LANGUAGE is a dense book and is packed to the gills with invaluable information and a fair bit of insight. As the inventor of the C++ language itself, Stroustrup is the closest person to the actual syntax, and short of reading the ISO spec, you simply won't find a more comprehensive tome on the subject. Remember, if you're a beginner, stay away. If you're experienced or you plan on being so, then you need to own this book today.

Click Here to see more reviews about: C++ Programming Language, The (3rd Edition)



Buy Now

Click here for more information about C++ Programming Language, The (3rd Edition)

Read More...