Dansk - English

Short version - Full version


C++ for Java programmers (Spring 2010)

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.
• Templates; Generic programming.
• Operator overloading
• Exceptions
• Inheritance
• Polymorphic behaviors; virtual functions
• Precondition and post condition specifications
• Standard Template Library (STL)
; virtual functions
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 and COMP3.
Responsible teacher : Henrik Kold Mikkelsen , hokm@dtu.dk