Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples 1st Edition

17 customer reviews
ISBN-13: 978-0201533934
ISBN-10: 0201533936
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used
Buy new
Amazon Price New from Used from
"Please retry"
Paperback, August 19, 1994
"Please retry"
$40.12 $2.36
More Buying Choices
24 New from $40.12 36 Used from $2.36
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

InterDesign Brand Store Awareness Rent Textbooks
$47.20 FREE Shipping. Only 15 left in stock (more on the way). Ships from and sold by Gift-wrap available.

Frequently Bought Together

Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples + Guide to Scientific Computing in C++ (Undergraduate Topics in Computer Science) + C++ and Object-Oriented Numeric Computing for Scientists and Engineers
Price for all three: $177.12

Buy the selected items together

Editorial Reviews

From the Inside Flap

Like many scientists and engineers, much of our work involves writing computer programs. Recently we have been writing those programs in C++. We think that our programs are better and that we can do better science and engineering with these programs because they are written in C++. We think you should try C++, and we wrote this book to help you get started.

C++ is one of several new languages that use a programming style called object-oriented programming. To write large programs that are correct, readable, modifiable, affordable, and efficient requires the same creative effort and persistence characteristic of other endeavors in science and engineering. Traditional programming languages, including FORTRAN and C, force us to communicate with the computer in a demeaningly simplistic manner. C++ and an object-oriented programming style elevate the communication to a more abstract level: They provide means for investing intellectual effort to produce better-quality programs and thus better-quality science and engineering, from a given programming project.

Learning C++ will be exciting. Although most of the programming ideas used in languages like FORTRAN, PASCAL, and C are still used in object-oriented programs, the new concepts reorganize the work. Like all new fields, object-oriented programming will seem foreign and exotic. C++ embodies a decade of new ideas from computer science backed up by practical experience. These new ideas will stimulate your thinking about programming and its role in your work. We hope you will find, as we have, that this new view changes programming from a tedious, albeit engaging, process to an intellectual enterprise more comparable to the processes we employ in other scientific and engineering work. Purpose

The purpose of this book is to teach you how to use C++ and the object-oriented programming style to produce better-quality programs, with an emphasis on scientific and engineering programs. Most such programs today are written in FORTRAN or C and without the benefit of any particular programming methodology. For small programs of strictly numerical content, FORTRAN or C may be adequate. However, larger programs and programs containing nonnumerical code are too expensive to understand, to revise, and to improve if written in FORTRAN or C. We present object-oriented programming as a design and programming style that addresses these problems and C++ as a programming language designed to allow efficient use of the object-oriented style. If you are still using FORTRAN or C in your programming, we invite you to explore a new world, the world of object-oriented programming in C++. Audience

Our book teaches object-oriented programming in C++, using examples from science and engineering. It is not a book about scientific computing or numerical analysis nor an introduction to programming. The book moves rapidly through the basic features and syntax of C++, material readily assimilated by an engineer or scientist experienced in programming or, indeed, by any experienced programmer. Our aim is to move quickly beyond syntax and rules to the more interesting and important concepts and techniques of object-oriented programming in C++. The latter part of the book applies the concepts and techniques developed to substantive examples. The examples are drawn primarily from science and engineering, but the concepts and techniques are broadly applicable.

We expect the book to be useful to three (overlapping) groups:

Engineers and scientists who are experienced programmers in


Professional programmers experienced in C or C++ looking

for a new systematic discussion of object-oriented programming in C++

C++ programmers interested in advanced examples useful as a

basis for scientific and engineering programming.

In addition to programming experience, some of the examples assume the mathematical maturity typical of an undergraduate student in an engineering or scientific field.

Learning C++ and object-oriented programming will be a challenge regardless of your background. We were frankly amazed that computer programming could be so different. We hope you find this challenge stimulating and rewarding on its own; we are confident that once you understand C++ and object-oriented programming, you will not be satisfied with less. Acknowledgments

This book was made possible by the considerable patience of our employer, the Research Division of the IBM Corporation, and the personal patience and encouragement of our managers, colleagues, friends, and families. We began work on this book when we were in the Physical Sciences (Barton) and Manufacturing Research (Nackman) departments. Our managers in those departments--Read McFeely, Franz Himpsel, and Bruce Scott; Mike Wesley, Warren Grobman, and Russ Lange--supported and encouraged our work. A special thanks to the late Mike Wesley, manager, mentor, and friend for a decade: He recognized the importance of producing quality software for engineering applications and provided the environment, encouragement, and support for learning something about how to do it. We have completed work on the book in the Computer Science department, where we enjoy the considerable support and encouragement of our manager Mark Wegman.

We are indebted to all of our colleagues at IBM Research for having made it a special place to work and learn. We especially thank Michael Karasick and Derek Lieber for helping us, over many years, to learn C++ and how to use it, and Louis Terminello for timely and gracious encouragement. We also thank Bjarne Stroustrup and the developers of IBM's C++ compiler, especially Mark Mendell, Dave Streeter, and Ernest Choi, for correspondence and encouragement while we learned and relearned C++.

We were also fortunate to have the help of many reviewers; their comments improved many aspects of the book, ranging from typography to the book's organization. The comments of James Coplien, Tom Lyons, and William Press had an especially large impact on the book. As deadlines loomed, Michael Karasick read furiously through several drafts to help us weed out the worst confusions. We also thank John L. Bradberry, Goodwin Chin, Marshall Cline, Chris Codella, Margaret Ellis, Martin Giles, Franklin Gracer, Peter Juhl, Derek Lieber, Mark Linton, Tom Linton, Stanley Lippman, Alistair McClean, John Morar, Dean Pentcheff, V. T. Rajan, John Rehr, Chris Seekamp, Steve Stevenson, Bjarne Stroustrup, Bob Sutor, Dave Tolle, Hank Walker, and Robert Wang for their many suggestions. The efforts of all these people spared you the early drafts of the book.

Debbie Lafferty, our editor at Addison-Wesley, gently prodded and encouraged us at each step of the way, carefully balancing between pushing too little and too hard.

The love of our families--Ava, Rachel, Samuel, and Joel Nackman; Cynthia Butler and John Anthony and Andrew Butler Barton--has been essential. We thank them for their patience and understanding during all those times when working on the book took time away from them.


From the Back Cover

Barton and Nackman explore using C++ and the object-oriented programming style in scientific and engineering programs. The book emphasizes general concepts, systematic ways of using C++ features, advanced techniques, and particular styles that will help you write object-oriented programs. Examples are drawn from scientific and engineering applications, and the concepts, techniques, and styles are broadly applicable.

The book is organized into three parts. The first part builds a working knowledge of C++. The second part introduces object-oriented programming and design techniques, emphasizing the various ways to express commonality and abstraction. The third part illustrates coordination of advanced C++ features and techniques by developing several interesting examples, including array classes, pointer classes, systems employing abstract algebra, FORTRAN-based matrices, function mapping, and data fitting.


Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 688 pages
  • Publisher: Addison-Wesley Professional; 1 edition (August 19, 1994)
  • Language: English
  • ISBN-10: 0201533936
  • ISBN-13: 978-0201533934
  • Product Dimensions: 7.2 x 1.5 x 9 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #1,007,800 in Books (See Top 100 in Books)

More About the Author

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

Customer Reviews

Most Helpful Customer Reviews

23 of 23 people found the following review helpful By David Elder on December 20, 2003
Format: Paperback
Barton and Nackman is probably the best advanced C++ book I have read. It covers the basics of C++ programming for FORTRAN and C programmers, then dives into more advanced material. The book discusses many important design issues, such as how to represent and take advantage of name, structure, and function commonality. Several of the later chapters build extended examples making use of advanced template techniques. One chapter develops in detail a family of array classes, another presents classes for smart pointer functionality. Though this book predates the standard template library, it discusses the use of iterators to provide sequential access to data stored in classes. My favorite chapters build a family of template classes to implement algebraic categories, e.g. groups, monoids, rings, and fields, and a set of classes to implement some rudimentary symbolic computation capabilities through function objects. The use of templates in the later chapters is truly advanced and it is fascinating to see many of the tricks templates allow you to perform.
My only gripe with the book is its age. It predates the ISO/ANSI C++ standard and the standard template libraries. It would be interesting to see how the authors would incorporate these recent advances into their treatment of advanced C++ programming.
Despite being a book for scientists and engineers, Barton and Nackman should be read by everyone doing serious C++ programming. Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
20 of 20 people found the following review helpful By Glenn G. Burnside III on May 19, 2000
Format: Paperback Verified Purchase
Overall, this is a TREMENDOUS book. The example projects used are immediately relevant to the target audience - scientists and engineers. Some of the concepts presented (in 1994) are just now coming into prominence in the C++ community. The only reason the book does not get 5 stars is that the code examples are outdated. A lot of time is spent on developing different containers and exception classes, but they do not employ the STL or the standard exception heirarchy for these. Also, their "hand-rolled" boolean type conflicts with the now standard bool type. I think this is a major shortcoming. A second edition of the book using ANSI c++ and STL would, I believe, be of great benefit.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 12 people found the following review helpful By ohmysohopeless on April 18, 2002
Format: Paperback
I was first interested in this book for its implication of the title, scientific computing (whatever it is). However, I must say I was pleasantly surprised to learn that the book is not just relevant for the implied target audience, but also for those who need a good introduction to OOP with C++.

What makes this book great for learning OOP is that it is rich in concrete examples that are relevant for people who have worked in science or engineering. Many OOP books take more abstract approaches, and often the relevance of discussions for the practical situations is not clear. It is not the case with this book.

Another thing I like is the quick and concise introductions of C++. I think the authors do a great job of summarizing "do's and don'ts" of C++ by extracting the information in indented, bullet style lines throughout the book. Other C++ books are just enormous and often it is hard to find relevant information.

I would guess the drawbacks of learning from this book is that if you do not have any background in science or engineering, you might have harder time understanding some examples in it. Also, the book is somewhat outdated in terms of coding practices (pre-Standard Library, etc.).

In any case, the superb introduction to C++ OOP is in this book, which mostly remains unmentioned when people talk about good C++ books authored by other prominent authors. This one definitely deserves better recognition.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
18 of 20 people found the following review helpful By A Customer on April 24, 2000
Format: Paperback
This book does a good job of explaining C++ in the big picutre and in a scientific light. The examples are good, although there could be more. The section on arrays is good, although when you want to actually see the code for multidimensional arrays you have to go to the online source code. This is when your frustration level goes way up. I tried to compile many of the sources in Visual C++ and no luck at all. After looking things over I discovered that this code does not have terminating semicolons, missing braces and really difficult bugs. The authors claim to have compiled and run the code on some old IBM mainframe -- their compiler was not very up to date! I tried to contact the authors at the specified e-mail address in the book and had it bounced back to me. After further investigation it looks like the authors have moved on to bigger and better things, and can not be reached.
Buy this book for the text, not the code. MTW, not all the code is given in the text book. If the code was fixed, and some more examples were given this would be a GREAT book, too bad...
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By Amazon Customer on June 24, 1999
Format: Paperback
I waited two years before buying this book - and it was a mistake I find very hard to understand in retrospect. The book is recommended by Scot Meyers, by James Coplien, and even by Bjarne Stroustrupp (the inventor of C++.) Don't let the title of the book fool you: it's almost essential reading for anyone doing serious work with C++, and probably should be for designers and programmers using other object oriented languages too.
Skip past the first 199 pages (which provide an incredibly rapid introduction to C++ for Fortran programming particle physicists) and you'll find one of the finest discussions of the fundamentals of object oriented design ever written - an essential antidote to the "finding the nouns" silliness of too many books. B&N is the perfect intermediate to advanced level object oriented design book, and might even be the best choice for a first-timer who really wants to get to grips with the subject (or who has to find out enough about object oriented design to use it in the real world rather than just pass an exam.)
If you're interested enough to want know more, but still not certain you should read the book, I'd suggest picking up a copy and reading the design study in chapter 8 - the best I've seen in any book, including Design Patterns.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples
This item: Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples
Price: $47.20
Ships from and sold by

Want to discover more products? Check out these pages to see more: c programming, c++ programming