About the Book
Essential C++ for Engineers and Scientists
zeros in on the key elements of good programming and C++, using a multitude
of interesting and appropriate engineering and scientific examples. This
book covers the features of C++ needed for writing engineering programs,
including many features of object-oriented programming. Early on, the book
makes some simplifying assumptions that allow the use of C++ topics without
lengthy explanation, and then later discusses the intricacies of the features.
Readers will come away with the confidence needed to solve problems with
C++.
Features
-
NEW! Code updated to comply with ANSI C++
Standard.
-
NEW! Material on member operators and more
coverage of member functions.
-
NEW! 50% more programming projects to choose
from.
-
NEW! Two new case studies with full algorithm
development.
-
NEW! Expanded coverage of files.
-
NEW! Uses structs.
-
NEW! Contains an appendix on C for readers
who want to use this language.
-
NEW! Additional appendixes on both Borland
and Visual C++ integrated development environments.
-
Covers the essential features of C++, including
control structures, one-dimensional and multidimensional arrays, and file
manipulation.
-
Includes features of object-oriented programming
such as class definition and use, derived classes, constructor functions,
operator overloading, and automatic conversion.
-
Contains over 80 engineering and scientific
examples and programming projects drawn from interesting areas such as
solar heating, environmentally sound power production, water conservation,
automated manufacturing, and pipeline and power grid modeling.
-
Presents fundamentals of numerical methods
that represent commonly used techniques for solving engineering and scientific
problems.
Related
Books
Introduction to Computer Programming Courses
(Intro
to Computer Programming)
Table of Contents
1. Computers: Revolutionary Machines
with a Simple Design.
Computer Components.
Computer Software.
Object-Oriented Programming.
Computing for Engineers and Scientists.
2. Basic Elements of a C++ Program.
Simple C++ Program.
Statement Execution.
Input/Output Operations.
Data Types.
Arithmetic Expressions.
Additional Operators.
Namespaces.
Software Designer Beware.
3. Control Structures.
Three Essential Structures.
Conditions.
Selection and Repetition.
Nested and Multiple-Alternative Selection
Structures.
The switch Statement for Multiple
Alternatives.
Problem Solving with Decisions.
Software Designer Beware.
4. Repetition Structures.
Loop Form and the while Statement.
Interactive and Batch Processing.
The for Statement.
Operators That Change Their Operands.
Input Errors.
The do-while Loop.
Problem Solving with Loops.
Software Designer Beware.
5. User-Defined Functions.
Single-Result Functions.
void Functions.
Functions with Output Parameters.
Overloaded Functions.
Introduction to Scope of Names.
Recursive Functions (Optional).
Problem Solving with User-Defined
Functions.
Software Designer Beware.
6. Data Structures and Classes of
Objects.
Structure Types.
A Simple Class.
Analysis and Design of Classes.
Implementation of a Design as a Class.
Accessors and Constructor Functions
for Type Conversion.
Class Reuse (Optional).
Software Designer Beware.
7. Arrays and Strings.
Arrays for List Storage.
Sequential Access of Array Elements.
Using Whole Arrays as Parameters.
Strings Revisited.
Classes with Array Components.
Dynamically Allocated Array Components.
Software Designer Beware.
8. Multidemensional Arrays.
Creating and Using Multidemensional
Arrays.
Matrix Operations.
Linear Systems.
Dynamic Allocation of Two-Dimensional
Array Components.
Software Designer Beware.
9. Input and Output Streams.
Text Files.
Stream Error Detection.
Formatting Text Output.
Searching a Database.
Software Designer Beware.
10. Introduction to Numerical Methods.
Finding Roots of Functions.
Fundamental Statistics.
Numerical Differentiation.
Numerical Integration.
Solving First-Order Differential Equations.
Software Designer Beware.
Appendix A. C, Parent Language of C++.
Appendix B. Selected C++ Standard
Functions/Macros.
Appendix C. Selected C++ Input/Output
Facilities.
Appendix D. Selected Facilities Provided
by Class string.
Appendix E. C++ Operators.
Appendix F. C++ Keywords.
Appendix G. Microsoft Visual C++ Integrated
Development Environment, An Introduction.
Appendix H. Borland C++ Builder Integrated
Development Environment, An Introduction.
Appendix I. Character Sets.
Index. |