2013-11-05 C/C++ Workshop (HPCC1W13)

Date:November 5-7, 2013 9:30 - 17:30
Location:LRZ Building, Garching/Munich, Boltzmannstr. 1
Contents:

This three-day workshop gives an introduction to the C and C++ programming language. The first day of the curse will be dedicated to C language, understanding basic compute concepts, programing and debugging. The two following days will introduce the students to object oriented programming in C++ language.

The following schedule is preliminary and may undergo changes.
Tuesday schedule:

- Basic Concepts.
- Basic Terminology
- includes, .h, .cpp
- C/C++ vs Fortran
- reference and values C/C++ vs Fortran
- Datatypes
- Basic statements, Loops, conditions, operators, functions... (basic examples)
- Memory model and allocation (pointers, reference parameters, value parameters)
- Compilation, Debugging
- Hands on

Wednesday schedule:

- Constructors, destructors.
- Objects, classes, methods. Basic language management.
- Namespaces
- Class design
- C/C++ I/O
- String class
- Sanity checks and exceptions
- Hands on

Thursday schedule:

- Abstraction (Overloading, inheritance, polymorphism)
- Virtual classes
- Complex containers: vectors, maps, lists, queues...
- Operators
- Templates
- Putting all together.
- Good practices

PrerequisitesCourse participants should have basic UNIX/Linux knowledge (login with secure shell, shell commands, simple scripts, editor vi or emacs).
Language:English
Teachers:Carla Guillen (LRZ), Carmen Navarrete (LRZ)
Registration:Will be soon available via LRZ registration form (Please choose course HPCC1W13)