An Introduction to Object-Oriented Programming in C++ with applications in Computer Graphics introduces the reader to programming in C++ step by step from the simplest of C++ programs, through features such as classes and templates to namespaces. Emphasis is placed on developing a good programming technique and demonstrating when and how to use the more advanced features of C++ through the development of realistic programming tools and classes.
This revised and extended 2nd edition includes:
- the Standard Template Library (STL), a major addition to the ANSI C++ standard
- full coverage of all the major topics of C++, such as Templates; exception handling; RTTI
- practical tools developed for object-oriented computer graphics programming
All code program files and exercises are ANSI C++ compatible and have been compiled on both Borland C++ v5.5 and GNU/Linux g++ v2.91 compilers, and are available from the author's web site:
http://www.hw.ac.uk/mecWWW/research/staff/gms.htm
Author(s): Graham M. Seed BEng, MPhil, PhD, MIAP (auth.)
Edition: 2
Publisher: Springer-Verlag London
Year: 2001
Language: English
Pages: 972
Tags: Programming Languages, Compilers, Interpreters; Programming Techniques; Computer Graphics
Front Matter....Pages i-xxxix
Overview....Pages 1-23
The Development Environment....Pages 25-30
Getting Started....Pages 31-49
Fundamental Data Types, Declarations, Definitions and Expressions....Pages 51-90
Making Decisions and Repetition....Pages 91-130
Functions....Pages 131-189
Arrays....Pages 191-220
Structures, Unions, Enumerations and Typedefs....Pages 221-252
The C++ Class....Pages 253-313
Operators and Overloading....Pages 315-346
Friends....Pages 347-368
Pointers....Pages 369-468
Templates....Pages 469-535
Exception Handling....Pages 537-576
Inheritance....Pages 577-691
Run-Time Type Information and Casting....Pages 693-712
Input and Output, Files and Streams....Pages 713-840
The Preprocessor....Pages 841-854
Namespaces....Pages 855-871
The Standard Template Library....Pages 873-941
Conclusion....Pages 943-944
Back Matter....Pages 945-972