PDF Ebook C++ for FORTRAN Programmers, by Ira Pohl
The advantages to take for reading the e-books C++ For FORTRAN Programmers, By Ira Pohl are involving improve your life high quality. The life high quality will not just regarding just how much expertise you will certainly get. Even you check out the enjoyable or enjoyable e-books, it will certainly aid you to have improving life high quality. Really feeling enjoyable will lead you to do something flawlessly. Additionally, the book C++ For FORTRAN Programmers, By Ira Pohl will provide you the driving lesson to take as an excellent need to do something. You might not be useless when reviewing this e-book C++ For FORTRAN Programmers, By Ira Pohl
C++ for FORTRAN Programmers, by Ira Pohl
PDF Ebook C++ for FORTRAN Programmers, by Ira Pohl
C++ For FORTRAN Programmers, By Ira Pohl. Learning how to have reading routine resembles learning to attempt for consuming something that you actually do not desire. It will certainly require even more times to assist. Furthermore, it will likewise little force to offer the food to your mouth and also swallow it. Well, as reviewing a publication C++ For FORTRAN Programmers, By Ira Pohl, sometimes, if you need to read something for your brand-new jobs, you will feel so lightheaded of it. Even it is a book like C++ For FORTRAN Programmers, By Ira Pohl; it will make you really feel so bad.
This C++ For FORTRAN Programmers, By Ira Pohl is really correct for you as novice user. The users will consistently begin their reading routine with the favourite motif. They might not consider the writer as well as author that develop guide. This is why, this book C++ For FORTRAN Programmers, By Ira Pohl is actually best to read. Nevertheless, the principle that is given in this book C++ For FORTRAN Programmers, By Ira Pohl will certainly show you numerous points. You can begin to love also reading up until completion of guide C++ For FORTRAN Programmers, By Ira Pohl.
In addition, we will share you the book C++ For FORTRAN Programmers, By Ira Pohl in soft data kinds. It will certainly not disrupt you to make heavy of you bag. You require only computer system gadget or gizmo. The web link that we provide in this website is readily available to click and after that download this C++ For FORTRAN Programmers, By Ira Pohl You know, having soft file of a book C++ For FORTRAN Programmers, By Ira Pohl to be in your gadget can make reduce the users. So this way, be an excellent reader now!
Just link to the web to acquire this book C++ For FORTRAN Programmers, By Ira Pohl This is why we imply you to use as well as utilize the industrialized modern technology. Reviewing book doesn't imply to bring the printed C++ For FORTRAN Programmers, By Ira Pohl Created technology has actually permitted you to read just the soft documents of guide C++ For FORTRAN Programmers, By Ira Pohl It is very same. You may not need to go and also obtain traditionally in searching the book C++ For FORTRAN Programmers, By Ira Pohl You may not have enough time to invest, may you? This is why we give you the most effective method to obtain the book C++ For FORTRAN Programmers, By Ira Pohl now!
C++ for Fortran Programmers provides a smooth transition to C++ and object-oriented programming by building on the reader's knowledge of FORTRAN. Noted C++ authority Ira Pohl uses his trademark technique of "dissection" to illustrate the underlying structure of programs and help readers understand design trade-offs. Where appropriate, C++ code is given with equivalent FORTRAN code. FORTRAN 77 has been augmented by other versions of FORTRAN, including FORTRAN 90. Based on the proposed ANSI C++ standard, this book covers the latest language features including detailed discussions of templates, STL, and exception handling.
- Sales Rank: #3591503 in Books
- Brand: Brand: Addison Wesley Longman
- Published on: 1997-01
- Ingredients: Example Ingredients
- Original language: English
- Number of items: 1
- Dimensions: 1.11" h x 7.34" w x 9.20" l,
- Binding: Paperback
- 540 pages
- Used Book in Good Condition
From the Back Cover
Using your existing knowledge of Fortran, C++ for Fortran Programmers gets you up and running with C++ quickly. By showing how individual elements of a Fortran program compare and translate into C++, this book helps you make a smooth transition to C++ and object-oriented concepts. Best-selling author and C++ authority Ira Pohl uses his trademark "dissection" technique to illustrate the underlying structure of programs and to help you understand design trade-offs. Scientific and engineering coding examples are featured throughout the text.
* Provides a smooth transition to C++ and object-oriented programming for programmers already familiar with Fortran.
* Includes C++ to Fortran equivalencies, making it easy to move from one language to another.
* Features engineering computations throughout; important scientific types such as complex number, vector, and polynomial are implemented.
* Incorporates the proposed ANSI C++ Standard including bool, namespaces, and the STL library.
* Features a chapter on the use of STL and efficient generic programming.
* Supplies fully tested program code on the World Wide Web at aw/cp/authors/pohl/c++_fortran/c++_fortran.html.
0201924838B04062001
About the Author
Ira Pohl is a Professor of Computer Science at the University of California, Santa Cruz and holds a Ph.D. in Computer Science from Stanford University. His research interests include artificial intelligence, the C and C++ programming languages, practical complexity problems, heuristic search methods, deductive algorithms, and educational and social issues. He originated error analysis in heuristic search methods and deductive algorithms. Professor Pohl was formerly a Mackay professor at University of California- Berkeley and a ZWO fellow in the Netherlands. He is the author or co-author of Object-Oriented Programming Using C++, C++ Distilled: A Concise Ansi/Iso Reference and Style Guide, C by Dissection: The Essentials of C Programming, A Book on C: Programming in C, C++ for C Programmers, C++ for Fortran Programmers, C++ for Pascal Programmers, and Turbo C: The Essentials of C Programming, all published by Addison-Wesley. 0201924838AB04062001
Excerpt. © Reprinted by permission. All rights reserved.
This book is intended as an introduction to programming in C++ for the programmer or student already familiar with Fortran. It uses an evolutionary teaching process, with Fortran as a starting point and C++ as a destination. The book is written to allow the reader to stop and use the language facilities at various points in the text.
This book will get the Fortran programmer up and running in C++ in the shortest possible time. It uses a teaching-by-equivalency method that allows the Fortran programmer the ability to immediately convert existing code over to C++. It emphasizes working code. A program particularly illustrative of the chapter*s themes is analyzed by dissection, which is similar to a structured walk-through of the code. Dissection explains to the reader newly encountered programming elements and idioms. Fortran is the major teaching language for beginning engineering students. It was designed by John Backus at IBM in the 1950s, and many efficient and fast compilers exist for it. Fortran is tailored to numerical scientific programming, and is the leading language for that use. For nonnumerical domains, Fortran lacks key features that limit its use in the software community, where C and C++ are the dominant languages.
C++, invented at Bell Labs by Bjarne Stroustrup in the mid-1980s, is a powerful modern successor language to C. C++ adds to C the concept of class, a mechanism for providing user-defined types also called abstract data types. It supports object-oriented programming by these means and by providing inheritance and run-time type binding. C++ is increasingly the choice of scientists and engineers in developing scientific software. This book is intended for use in a first course in programming in C++. The reader is expected to know Fortran or have enough programming experience to follow this tutorial. It can be used as a supplementary text in an advanced programming, data structures, software methodology, comparative language, or other course in which the instructor wants C++ to be the language of choice. Each chapter presents a number of carefully explained programs.
All the major pieces of code were tested. A consistent and proper coding style is adopted from the beginning and is one chosen by professionals in the C++ community. The code is available at the Addison Wesley Longman Web site (www.aw.com).
For the Fortran programmer who wants C experience, this book could be used in conjunction with A Book on C, Third Edition by Al Kelley and Ira Pohl (Addison-Wesley, 1995). As a package, the two books offer an integrated treatment of the C and C++ programming languages and their use that is unavailable elsewhere. This book incorporates:
An Evolutionary Approach. The Fortran programmer is introduced to equivalent concepts in the C++ programming language. By learning how individual elements of a Fortran program translate into C++, the Fortran programmer can immediately gain a facility with C++. Chapter 1, "An Overview of C++ and Object-Oriented Programming," provides an introduction to C++*s use as an object-oriented programming language. Chapter 2, "Native Types and Statements," shows the parallels between programming in Fortran and C++ with regard to data types, expressions, and simple statements. Chapter 3, "Functions, Pointers, and Arrays," continues with similarities between functions and complex data types. The middle chapters show how to use classes, which are the basis for abstract data types and object-oriented programming (OOP). The later chapters give advanced details of the use of inheritance, templates, and exceptions. At any point in the text the programmer can stop and use the new material.
Teaching by Example. The book is a tutorial that stresses examples of working code. Right from the start the student is introduced to full working programs. An interactive environment is assumed. Exercises are integrated with the examples to encourage experimentation. Excessive detail is avoided in explaining the larger elements of writing working code. Each chapter has several important example programs. Major elements of these programs are explained by dissection.
Data Structures in C++. The text emphasizes many of the standard data structures from computer science. Stacks, safe arrays, dynamically allocated multidimensional arrays, lists, trees, and strings are all implemented. Exercises extend the student*s understanding of how to implement and use these structures. Implementation is consistent with an abstract data type approach to software.
Object-Oriented Programming. The reader is led gradually to the object-oriented style. Chapter 1, "An Overview of C++ and Object-Oriented Programming," discusses how the Fortran programmer can benefit in important ways from a switch to C++ and object-oriented programming. Object-oriented concepts are defined, and the way in which these concepts are supported by C++ is introduced. Chapter 4, "Classes," introduces classes, which are the basic mechanism for producing modular programs and implementing abstract data types. Class variables are the objects being manipulated. Chapter 9, "Inheritance," develops inheritance and virtual functions, two key elements in this paradigm. Chapter 11, "OOP Using C++," discusses OOP and the Platonic programming philosophy. This book develops in the programmer an appreciation of this point of view.
Fortran Equivalence. Where appropriate, C++ code is given with equivalent FORTRAN 77 code. This gives the experienced Fortran programmer immediate access to idiomatic C++ code. FORTRAN 77 has been augmented by other versions of Fortran, the primary one being Fortran 90. Fortran 90 has many additional features, such as modules, recursion, a free-form style, pointers and structured data, and better flow of control statements.
ANSI C++ Language and iostream.h. For an existing, widely used language, C++ continues to change at a rapid pace. This book is based on the most recent standard: the ANSI C++ Committee language documents. A succinct informal language reference is provided in Appendix D, "Language Guide." Use of the iostream.h library is featured in Appendix E, "Input/Output," and STL is featured in Appendix F, "STL and String Libraries."
Standard Template Library (STL). STL is explained and used in Chapter 8, "Templates, Generic Programming, and STL," and in Appendix F, "STL and String Libraries." Many of the data structure examples foreshadow its explanation and use. There is a strong emphasis on the template mechanism required for STL and the iterator idiom that STL exploits. The numerical examples stressed are important to scientific computation.
Industry- and Course-Tested. This book is the basis of many on-site professional training courses given by the author, who has used its contents to train professionals and students in various forums since 1986. The various changes are course-tested, and reflect the author*s considerable teaching and consulting experience.
Exercises. The exercises test and often advance the student*s knowledge of the language. Many are intended to be done interactively while reading the text, encouraging self-paced instruction. Others test standard scientific concepts, such as the use of vectors, pseudorandom computations, numerical methods for evaluating integrals, conversion of units, and the use of complex numbers.
Engineering and Scientific Computations. Scientific and engineering computations are featured throughout. Important scientific types such as complex numbers, vectors, and polynomials are implemented. Modern simulation technique is featured through an ecological simulation that is implemented using object-oriented techniques. Numerical methods such as root finding and integration are featured.
Web site. The examples both within the book and at Addison-Wesley*s Web site are intended to exhibit good programming style. The Addison-Wesley Web site for this book contains the programs in the book as well as adjunct programs that illustrate points made in the book or flesh out short pieces of programs. The programs available at the Web site are introduced by their .cpp or .h names and can be obtained by referencing: http://www.aw.com/cseng/pohl/c++4f/ch_num/program_name.cpp
My special thanks go to my wife, Debra Dolsberry, who encouraged me throughout this project. She acted as book designer and technical editor for this edition. She developed appropriate formats and style sheets in FrameMaker 5.0 and guided the transition process from my other books on C++. She also implemented and tested all major pieces of code.
This book was developed with the support of my editor, J. Carter Shanklin, and editorial assistant, Angela Buenning.
Ira PohlUniversity of California, Santa Cruz
0201924838P04062001
Most helpful customer reviews
10 of 10 people found the following review helpful.
Doesn't live up to its title
By avoraciousreader
First, let me say that this does seem to be a perfectly respectable C++ book.
One could do worse, and it does not seem that knowing Fortran is a prerequisite.
It's the "... For Fortran Programmers" part that is disappointing. I'm a member of the ostensible target demographic -- someone who has programmed for decades off and on in Fortran and is looking to learn the C (/ C++) language -- and this book sounded like exactly what I was looking for. Unfortunately, it did not live up to this expectation. The Fortran related material occupies only the first 20% of the book (plus a brief appendix), essentially the plain-old-C chapters.
The "for Fortran programmers" content is mostly concerned with those areas where there are direct equivalences between the two languages that can be summarized neatly in tables (e.g. Fortran's "double precision" is the same as C's "double"). This kind of info is useful, but an experienced Fortran programmer will easily pick it up anyway. When it comes to more complicated issues such as control structures (IF, etc.), the emphasis seems to be to present Fortran equivalents of C structures, rather than the reverse. I guess this could be seen as using the presumed Fortran background to explicate a C language description, but I'd think most Fortran programmers learning C will be thinking the reverse, "I know how to do in Fortran, how do I achieve the same thing in C?" Compounding this, the assumption seems to be that the Fortran programmed in is Fortran 90, which is far from universally adopted (especially with the immense amount of legacy code in use).
Of course, a lot of the C++ language simply has no direct equivalent in Fortran. But if this were really written from the start for Fortran programmers there should be specific discussion showing how to do things that a Fortran programmer finds clumsy (such as matrix manipulation) more smoothly with the "++" part of C++, and the book should use examples drawn from scientific programming (which has been the primary domain of Fortran programmers).
I am not saying this book should be a simple translation manual, but it should start with what the Fortran programmer already knows and build from there, and deal with problems that the Fortran programmer is typically interested in.
In summary, this is a decent C++ book, but the Fortran content seems to be a clumsy afterthought, grafted on for marketing reasons.
6 of 6 people found the following review helpful.
A disappointing book
By Brian Bowman
This is the only text I know of that tries to take the Fortran programmer directly into C++. This attempt was a poor effort at best. Ira's other book C++ for C Programmers was highly recommended to me to learn C++. Being a Fortran programmer and not a C programmer, I thought Ira would have made this book at a comparable level. Instead he used the C++ for C Programmers text with a few changes for Fortran syntax. This shows a minimal effort on Ira's part, very disappointing! The reader of this book needs a good background in C to understand it. And if your C background is good, get the C++ for C Programmers book. C++ for Fortran Programmers should be rewritten for programmers with only a Fortran background as the title indicates. Then, I believe this text could fill a unique and important gap in the literature. A second issue I have with this text is Ira's writing style. He writes at a high level thus you need to be able to read at that level. That's all fine, but then he needs to be a competent writer of the English language. Ira's technical writing fails miserably here (showing short, weak examples in no way makes up for this!). My advice for Fortran only programmers is get a short introductory book on C and then get a short (introductory?) book on C++. Your basic programming skills should easily cover anything else. Ira should have done something like this when he wrote the book.
11 of 13 people found the following review helpful.
Book does not discuss some elementary Fortran statements
By John C. Price (jcprice@mho.net)
I feel the title of the book is extremely misleading. With no mention of "common", no discussion of "subroutine", or "equivalence" this book is not suitable for a Fortran programmer who wishes to learn C++ by converting statements from F. to C. Nor are the C++ concepts placed in the context of Fortran. Author could write a book on every language for C++ programmers with minimal effort - just include a few short simple programs in the other language. Don't buy if you expect to benefit from your Fortran experiance.
C++ for FORTRAN Programmers, by Ira Pohl PDF
C++ for FORTRAN Programmers, by Ira Pohl EPub
C++ for FORTRAN Programmers, by Ira Pohl Doc
C++ for FORTRAN Programmers, by Ira Pohl iBooks
C++ for FORTRAN Programmers, by Ira Pohl rtf
C++ for FORTRAN Programmers, by Ira Pohl Mobipocket
C++ for FORTRAN Programmers, by Ira Pohl Kindle