Effective Analysis Programming 2

From Gridkaschool
Revision as of 09:37, 29 August 2012 by Stadie (talk | contribs) (→‎Exercises)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

We give an introduction to advanced topics of C++. These include inheritance, templates, stable numerical calculations, debugging and profiling. The main focus is on rules and guidelines to write clear code and avoid common pitfalls.

Desirable Prerequisite: Basic knowledge of C/C++


Books

  • Stroustrup: "The C++ Programming Language", 3rd edition
  • Sutter, Alexandrescu: "C++ Coding Standards"
  • Press et al.: "Numerical Recipes", 3rd edition
  • Meyers: "Effective C++" etc.


Nodes

  • gks-044.scc.kit.edu 141.52.174.44
  • gks-246.scc.kit.edu 141.52.174.246


Lectures

  • Coding Guidelines 1(Organization and policy, Design style, Coding style, Function) Media:Effprog2.pdf
  • Coding Guidelines 2(Organization and policy, Design style, Coding style, Function) Media:Effprog3.pdf

Exercises

Review code of a project

  • Start with tar ball inertia.tgz
  • Add missing code to Cylinder class
  • test it
  • check into the repository
  • tag it with CVS
  • improve the code using the guidelines
  • commit changes tag new version

Debugging

Profiling