One-Day Scientific C++ Class
Goal
This was a full-day course given on March 15, 2011 at SciNet, covering using C++ for scientific programming, with a focus on those features that are useful for scientific software development. We took to C-to-C++ route, so familiarity with C, in particular with pointers, was a prerequisite.
Slides (PDF)
- Introduction: programming strategies and brief history of C++
- A basic review of C
- Running example
- The nice features of C++
- Big C++: classes
- Big C++: polymorphism
- Big C++: Inheritance
- Big C++: polymorphism in inheritance
- Big C++: Generic programming with templates
- Useful libraries
Or:
- Complete set of slides (updated on Apr 26, 2012)
Videos
- Introduction: programming strategies and brief history of C++
- A basic review of C
- Running example
- The nice features of C++
- Big C++: classes
- Big C++: polymorphism
- Big C++: Inheritance
- Big C++: polymorphism in inheritance
- Big C++: Generic programming with templates
- Useful libraries