Bild von Institut mit Unilogo
home uni university suche search sitemap sitemap kontakt contact
unilogo Universität Stuttgart

Simulation of Large Systems: Teaching

Lecture Commas C6 (WT07/08)

Sitemap Search in IPVS Druckansicht


Software Development / Numerical Programming I
Lecturer Dr. rer. nat. Olaf Ippisch
Volume 2L/E
Language English
Study Courses Commas
Target Group main study period
Dates On Tuesdays (weekly) , 11:30-13:00 in V7.12
Short Description
In this core course C6 of the COMMAS master of science program, we want learn how to write scientific programs in C++. Starting from the very beginning the C++ programming language is introduced. The newly acquired knowledge is used to implement numerical algorithms for interpolation, differentiation, integration and the solution of linear equation systems.
Prerequisites
  • Basic knowledge of numerical mathematics
  • Willingness to do the exercises
Literature

C++ Tutorials

There is a large variety of C++ tutorials and online courses on the web. Here is a small selection in random order:

C++ Reference

A very usefull overview of C++ language features (more for the advanced programmer) gives C/C++ Reference

Free C++ Books

Other useful books

  • Bjarne Stroustrup: The C++ Programming Language, 3rd ed., Addison-Wesley Longman, 1997. This is still THE book on C++ programming written by the inventor of C++.
  • Nicolai M. Josuttis: The C++ Standard Library - A Tutorial and Reference, 1st ed., Addison-Wesley, 1999. A very good guide to the usage of the C++ Standard Library with many helpful example programs.
  • Final Draft of the C++ Standard: The final draft is identical to the final standard in all essential points. In contrast to the final standard which can be bought at e.g. www.ansi.org it is available for free.

C++-Compilers for Windows

For a start I would suggest to use Dev-C++.
  • Dev-C++ An integrated developmend environment using MinGW (a windows version of g++). You can find an english tutorial how to use it here
  • MinGW A command line version of the c++ compiler. A tutorial how to install MinGW can be found here. You will additionally need an editor. You can either use the Windows Editor or WordPad both can be found under Start->All Programs->Accessories, or you can e.g. download NotePad++, which has syntax highlighting...
  • Eclipse is a very powerful IDE, but also with a lot of features (more for the advanced programmer)
There are also versions of commercial C++ compilers which are available for free if only used privately:

Latex

Latex is a system for typesetting texts and is especially usefull for large texts and for texts with many mathematical formulae. A short introduction to Latex can be found here. To facilitate the use of Latex, there are special editors available:

  • Texmaker is a Latex environment which is available for Windows, Mac OS X and Linux and has an easy windows installer.
  • Lyx is the attempt to combine the strength of Latex and the comfort of a WYSIWIG-Textprocessor and is also available for Windows and Linux.
  • Kile is a very comfortable Latex-Environment for Linux.
appointments and material