COMP345 - fall 2018

From Dr. Joey Paquet Web Site
Revision as of 08:56, 10 October 2018 by Paquet (Talk | contribs)

Jump to: navigation, search

Contents

Course Description

COMP 345 - Advanced Program Design with C++ (4 credits)

Prerequisite: COMP352 previously or concurrently. Introduction to C++. I/O with stream classes. Pointers and their uses. TheStandard Template Library (STL): containers, algorithms, iterators, adaptors, function objects. Class design: constructors, destructors, operator overloading, inheritance, virtual functions, exception handling, memory management. Advanced topics: libraries, locales, STL conventions, concurrency, template metaprogramming. Applications of C++: systems, engineering, games programming. Project. Lectures: three hours per week. Laboratory: two hours per week.

Course Schedule and Contacts

component day time location instructor e-mail address web
lecture D -T-J--- 13:15-14:30 H-553 Paquet, Joey paquet@encs.concordia.ca
office hours D --W---- 10:00-12:00 EV-3-221 Paquet, Joey

Lecture Schedule

wk date event topics lecture material (tentative) laboratory material (tentative)
week 1 sep 4, sep 6
  • introduction to the course and project
  • introduction to C++
week 2 sep 11, sep 13
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 18, sep 20
  • structures, classes
  • inheritance
  • constructors, destructors
  • const, inline, static
  • friends
week 4 sep 25, sep 27
week 5 oct 2, oct 4
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 9, oct 11
  • MVC architecture
  • observer pattern
week 7 oct 16, oct 18
week 8 oct 23, oct 25
  • midterm examination (oct 27, 13h00-15h00, H507, H553)
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 oct 30, nov 1
  • design patterns in C++
week 10 nov 6, nov 8
  • operator overloading
week 11 nov 13, nov 15
  • exception handling
week 12 nov 20, nov 22
  • templates metaprogramming
week 13 nov 27 - nov 29
  • due date for assignment 4 (nov 30)
  • [dec 1 or 2] final programming test
  • Review
exam week dec 5 - dec 19
  • final written examination (tentative) - dec 10 9h00-12h00 room TBA

Course Material and Resources

Code used in the lecture slides