COMP345 - fall 2017

From Dr. Joey Paquet Web Site
Revision as of 16:52, 3 September 2017 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-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 laboratory material
week 1 sep 5, sep 7
  • introduction to the course and project
  • introduction to C++
week 2 sep 12, sep 14
  • [sep 15] group formation deadline
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 19, sep 21
  • structures, classes
  • inheritance
  • constructors, destructors
  • const, inline, static
  • friends
week 4 sep 26, sep 28
week 5 oct 3, oct 5
  • arrays, dynamic arrays
week 6 oct 10, oct 12
  • MVC architecture
  • observer pattern
week 7 oct 17, oct 19
week 8 oct 24, oct 26
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 oct 31, nov 2
  • design patterns in C++
week 10 nov 7, nov 9
  • operator overloading
week 11 nov 14, nov 16
  • exception handling
week 12 nov 21, nov 23
  • [nov 24] individual programming assignment #3 due
  • templates metaprogramming
week 13 nov 28, nov 30
exam week dec 6 - dec 20
  • final examination : TBD

Course Material and Resources

Code used in the lecture slides

Other Material