COMP345 - fall 2020

From Dr. Joey Paquet Web Site
Revision as of 11:15, 1 September 2020 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 online Joey Paquet paquet@encs.concordia.ca
instructor's office hours --W---- 10:00-12:00 online Joey Paquet

Lecture Schedule

wk date event topics lecture material (tentative) laboratory material (tentative)
week 1 sep 8, sep 10
  • introduction to the course and project
  • introduction to C++
week 2 sep 15, sep 17
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 22, sep 24
  • structures, classes
  • inheritance
  • constructors, destructors
  • const, inline, static
  • friends
week 4 sep 29, oct 1
week 5 oct 6, oct 8
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 13, oct 15
  • MVC architecture
  • observer pattern
week 7 oct 20, oct 22
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 8 oct 27, oct 29
week 9 nov 3, nov 5
  • design patterns in C++
week 10 nov 10, nov 12
  • Deadline for DISC withdrawal (nov 9)
  • operator overloading
week 11 nov 17, nov 19
  • exception handling
week 12 nov 24, nov 26
  • due date for assignment 3 (nov 27)
    results
  • final programming test (nov 25 during labs)
    Wed Nov 25th 17:45-19:35
    Wed Nov 25th 20:30-22:20
    results
  • templates metaprogramming
week 13 dec 1 - dec 3
  • Review
exam week dec 9 - dec 23
  • final written examination (TBD)
    results

Course Material and Resources