COMP345 - fall 2017

From Dr. Joey Paquet Web Site
Revision as of 13:04, 21 January 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-520 Paquet, Joey paquet@encs.concordia.ca
office hours D -T----- 10:00-12:00 EV-3-221 Paquet, Joey
lab E-X --W---- 17:45 19:35 H-903 Lai, Haotao h_lai@encs.concordia.ca
lab G-X --W---- 17:45 19:35 H-843 Gupta, Jyotsana jyotsana.gupta@mail.concordia.ca
lab B-X --W---- 20:30 22:20 H-929

Lecture Schedule

wk date event topics lecture material (tentative) laboratory material (tentative)
week 1 sep 5, sep 7
  • introduction to the course and project
  • introduction to C++
week 2 sep 12, sep 14
  • 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
  • [oct 19] midterm examination
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
  • [nov 6] Deadline for withdrawal
  • 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 23] due date for assignment 4
  • templates metaprogramming
week 13 nov 26 - dec 1
  • Review
exam week dec 6 - dec 20

Course Material and Resources

Code used in the lecture slides