COMP345 - fall 2014

From Dr. Joey Paquet Web Site
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 site
lecture D -T-J--- 13:15-14:30 FG-B070 Paquet, Joey paquet@cse.concordia.ca
lab DI --W---- 20:30-22:00 H-831 Zafar Asoodeh, Amir am_zafa@encs.concordia.ca
lab DJ --W---- 20:30-22:00 H-847 Laleh, Touraj t_laleh@encs.concordia.ca
office hours D ---—F-- 10:00-12:00 EV-3-221 Paquet, Joey
lecture N M-W---- 16:15-17:30 FG-B070 Sinnig, Daniel d_sinnig@encs.concordia.ca
lab NI --W---- 18:00-21:00 H-929 Novikov, Dimitri dimanovi@hotmail.com
lab NJ --W---- 18:00-21:00 H-847 Huot, Alexandre huot.alex@gmail.com
office hours N TBA Sinnig, Daniel

Lecture Schedule

wk date event lecture topics material
week 1 sep 1 - sep 5
  • introduction to the course and project
  • introduction to C++
week 2 sep 8 - sep 12
  • [sep 12] group formation deadline
  • program organization
  • compilation units, namespaces
  • data types, type coercion
  • streams
  • pointers
week 3 sep 15 - sep 19
  • structures, classes
  • inheritance
  • constructors, destructors
  • const, inline, static
  • friends
week 4 sep 22 - sep 26
week 5 sep 29 - oct 3
  • arrays, dynamic arrays
week 6 oct 6 - oct 10
  • MVC architecture
  • observer pattern
week 7 oct 13 - oct 17
week 8 oct 20 - oct 24
  • [oct 26] Deadline for withdrawal
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 oct 27 - oct 31
  • design patterns in C++
week 10 nov 3 - nov 7
  • operator overloading
week 11 nov 10 - nov 14
  • exception handling
week 12 nov 17 - nov 21
  • [nov 21] individual programming assignment #3 due
  • templates metaprogramming
week 13 nov 24 - nov 28
exam week dec 3 - dec 18
  • final examination : Wed, Dec 3 14h-17h - A-O MBS1.235, P-Z MBS1.430 (confirmed)

Course Material and Resources

Code used in the lecture slides

Other Material