COMP345 - fall 2018

From Dr. Joey Paquet Web Site
Revision as of 14:41, 3 September 2018 by Paquet (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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-520 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
  • arrays, dynamic arrays
week 6 oct 9, oct 11
  • MVC architecture
  • observer pattern
week 7 oct 16, oct 18
  • [oct 19] midterm examination
week 8 oct 23, oct 25
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 oct 30, nov 1
  • [nov 5] Deadline for withdrawal
  • 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
  • [nov 23] due date for assignment 4
  • templates metaprogramming
week 13 nov 27 - nov 29
  • Review
exam week dec 5 - dec 19
  • final written examination

Course Material and Resources

Code used in the lecture slides