Dansk - English

Short version - Full version


C++ for Java programmers (Spring 2013)

Course code : EJ2C++-U1
ECTS Credits : 7,5 Status : Optional
Placement : 5. semester Hours per week : 4
Length : 1 semester Teaching Language : Danish and English

Principal Content : • Compilers, linkers, and precompilers.
• Copy constructor, copy assignment operator, and destructor (“big three”).
• Handling of memory. Global, heap, and stack.
• Pointers.
• Operator overloading
• Exceptions
• Inheritance
• Polymorphic behaviours; virtual functions
• Precondition and post condition specifications
• Templates; Generic programming.
• Standard Template Library (STL)
• Smart Pointers
• Traits
• Policy Based Class Design
• Meta programming
Teaching method : The lessons consist of theory combined with practical exercises and course assignments. During the semester the student will have to hand in a number of mandatory course assignments. These assignments are used as a base for the oral examination.
Required prequisites : Documented knowledge corresponding to PROG2.
Responsible teacher : Henrik Kold Mikkelsen , hokm@dtu.dk