COMP345 - fall 2018

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
lecture D -T-J--- 13:15-14:30 H-553 Paquet, Joey paquet@encs.concordia.ca
instructor's office hours --W---- 10:00-12:00 EV-3-221 Paquet, Joey
lab AX --W---- 20:30-22:20 H831 Claudia Della Serra cl_della@encs.concordia.ca
lab BX --W---- 20:30-22:20 H929 Haotao Lai h_lai@encs.concordia.ca
lab CX --W---- 20:30-22:20 H917 Vahid Khorasani Ghassab v_khoras@encs.concordia.ca
lab EX --W---- 17:45-19:35 H907 Vahid Khorasani Ghassab v_khoras@encs.concordia.ca
lab FX --W---- 18:20-20:20 H929 Sleiman Rabah s_rabah@encs.concordia.ca
lab GX --W---- 17:45-19:35 H917 Basant Singh s_basant@encs.concordia.ca
marker Sleiman Rabah s_rabah@encs.concordia.ca [1]
marker Haotao Lai h_lai@encs.concordia.ca

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
  • C/C++ arrays and dynamic arrays, containers
week 6 oct 9, oct 11
  • due date for assignment 1 (oct 12)
  • MVC architecture
  • observer pattern
week 7 oct 16, oct 18
week 8 oct 23, oct 25
  • midterm examination
    oct 27, 13h00-15h00
    room H507: SID 25900000-40017000
    room H553: SID 40017001-40099999
    coverage
    results
  • polymorphism
  • virtual functions
  • abstract classes
  • slicing problem, value and reference semantics
  • virtual function tables
  • diamond problem, virtual inheritance
week 9 oct 30, nov 1
  • 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
  • templates metaprogramming
week 13 nov 27 - nov 29
  • due date for assignment 4 (nov 30)
  • final programming test
    Sunday, dec 2, 2-4pm
    H929 (SID: 25900000 to 40018000)
    H967 (SID: 40018001 to 40099999)
    H915 (ACSD students)
    results
  • Review
exam week dec 5 - dec 19
  • final written examination (confirmed)
    dec 10 9h00-11h00 rooms H501,H521,H523,H540
    results

Course Material and Resources

Code used in the lecture slides