PHYSICS 231: SIMULATIONS IN C++
Fall 2003
Instructor: : Professor Steven White
- Office: PS2 2172
- Phone: 824-2256
- E-mail: srwhite@uci.edu
- Office Hours: Stop by, preferably in the afternoons.
Lecture: 9:30--10:50 M-W FRH 2111
- Required Text: C++ and Object Oriented Numeric
Computing
by D. Yang, published by Springer.
- Recommended Text: The C++ Programming Language,
3rd edition (at least)
by Bjarne Stroustrup, published by Addison Wesley.
- URL for this course: http://hedrock.ps.uci.edu/c++.html
Assignments : There will be periodic programming assignments,
and one major project. The project will be to
design a useful class library for some set of objects (e.g. "matrices")
that you are interested in. Everyone will need to make a web page
with your project described in detail and available for download.
Other students will assess your projects by downloading them and
trying them out. A computer with space for web pages will be available
for those without a current web page.
Grading : To be determined.
Topics :
- Basic elements of C++
- Introduction to classes
- Templates
- Inheritance
- Exceptions
- The Standard Library
- Tricks and techniques for numerical programming: reference counting,
smart pointer classes, delayed assignment and evaluation, etc.