C++ is among the most powerful and popular of programming languages for applications. This is an adoptable textbook for undergraduate students who need to use this language for applications that are - in the main - numerical. Most engineering, physics and mathematics degree courses include a computing element: this book should be used where C++ is the chosen language, already the majority of cases. The book is comprehensive and includes advanced features of the language, indicating where they are of special interest to the reader. No prior knowledge of C is assumed, and the book's bias towards numerical applications makes it unique in the field.
Since the first edition of C++ for Scientists, Engineers and Mathematicians, many things have changed. Perhaps the most important is that the ANSI C++ Standard was approved in 1998. The first edition of this book was incompatible with some parts of the Standard and every effort has been made to rectify this. The facilities offered by the C++ language have also grown enormously since the first edition. It is not just the language itself that has grown, but the ANSI Standard also defines an extensive range of library facilities. I have also made two changes in emphasis since the first edition. Firstly, since there is so much important material to cover, some less important features of the language have been removed. The second change is to try to illustrate the language by means of complete programs, rather than code fragments. Hopefully, this will give you more confidence in applying new techniques. Finally, although C++ is a bigger language than it was, it is even more fun to use.
Inhaltsverzeichnis
Introduction. - The Lexical Basis of C++. - Fundamental Types and Basic Operators. - Control Structure. - Functions. - Pointers and Arrays. - Further Pointer Techniques. - Classes. - Operator Overloading. - Constructors and Destructors. - Bitwise Operations. - Single Inheritance. - Multiple Inheritance. - Namespaces. - Exception Handling. - Templates. - Standard Library. - Input and Output. - Appendix A: The ASCII Character Codes. - Appendix B: Operator Precedence and Associativity. - Appendix C: Differences between C and C++.