Difference between revisions of "COMP345 - fall 2020"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
Line 43: Line 43:
 
*introduction to C++
 
*introduction to C++
 
||
 
||
*[[Media:COMP345.0.introduction.2020.2.ppt|Slide set 0]]
+
*[[Media:COMP345.0.introduction.2020.2.ppt|slide set 0]]
 
||
 
||
 
|-
 
|-
Line 58: Line 58:
 
*pointers  
 
*pointers  
 
||
 
||
*[[Media:COMP345.1.programstructure.ppt|Slide set 1]]
+
*[[Media:COMP345.1.programstructure.ppt|slide set 1]]
*[[Media:COMP345.2.preliminarytopics.ppt|Slide set 2]]
+
*[[Media:COMP345.2.preliminarytopics.ppt|slide set 2]]
*[[Media:COMP345.3.inputoutput.ppt|Slide set 3]]
+
*[[Media:COMP345.3.inputoutput.ppt|slide set 3]]
 
||
 
||
 
*[[Media:COMP345.lab01.zip|lab1]]
 
*[[Media:COMP345.lab01.zip|lab1]]
Line 75: Line 75:
 
*friends
 
*friends
 
||
 
||
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
+
*[[Media:COMP345.4.classes.ppt|slide set 4]]
 
||
 
||
 
*[[Media:COMP345.lab03.zip|lab3]]
 
*[[Media:COMP345.lab03.zip|lab3]]
Line 94: Line 94:
 
*C/C++ arrays and dynamic arrays, containers
 
*C/C++ arrays and dynamic arrays, containers
 
||
 
||
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
+
*[[Media:COMP345.5.arrays.ppt|slide set 5]]
 
||
 
||
 
*[[Media:COMP345.lab05.zip|lab5]]
 
*[[Media:COMP345.lab05.zip|lab5]]
Line 106: Line 106:
 
*observer pattern
 
*observer pattern
 
||
 
||
*[[Media:COMP345.6.MVC.ppt |Slide set 6]]
+
*[[Media:COMP345.6.MVC.ppt |slide set 6]]
 
||
 
||
 
*[[Media:COMP345.lab06.zip|lab6]]
 
*[[Media:COMP345.lab06.zip|lab6]]
Line 121: Line 121:
 
*diamond problem, virtual inheritance
 
*diamond problem, virtual inheritance
 
||
 
||
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
+
*[[Media:COMP345.7.polymorphism.ppt |slide set 7]]
 
||
 
||
 
*[[Media:COMP345.lab07.zip|lab7]]
 
*[[Media:COMP345.lab07.zip|lab7]]
Line 141: Line 141:
 
*design patterns in C++
 
*design patterns in C++
 
||
 
||
*[[Media:COMP345.8.patterns.ppt|Slide set 8]]
+
*[[Media:COMP345.8.patterns.ppt|slide set 8]]
 
||
 
||
 
*[[Media:COMP345.lab08.zip|lab8]]
 
*[[Media:COMP345.lab08.zip|lab8]]
Line 153: Line 153:
 
*operator overloading
 
*operator overloading
 
||
 
||
*[[Media:COMP345.9.operators.ppt |Slide set 9]]
+
*[[Media:COMP345.9.operators.ppt |slide set 9]]
 
||
 
||
 
*[[Media:COMP345.lab9.zip|lab9]]
 
*[[Media:COMP345.lab9.zip|lab9]]
Line 164: Line 164:
 
*exception handling
 
*exception handling
 
||
 
||
*[[Media:COMP345.10.exceptions.ppt|Slide set 10]]
+
*[[Media:COMP345.10.exceptions.ppt|slide set 10]]
 
||
 
||
 
*[[Media:COMP345.lab10.zip|lab 10]]
 
*[[Media:COMP345.lab10.zip|lab 10]]
Line 176: Line 176:
 
*templates metaprogramming
 
*templates metaprogramming
 
||
 
||
*[[Media:COMP345.11.templates.ppt|Slide set 11]]
+
*[[Media:COMP345.11.templates.ppt|slide set 11]]
 
||
 
||
 
*[[Media:COMP345.lab11.templates.zip|lab 11]]
 
*[[Media:COMP345.lab11.templates.zip|lab 11]]
Line 186: Line 186:
 
* Review
 
* Review
 
||  
 
||  
*[[Media:COMP345.12.review.ppt|Slide set 12]]
+
*[[Media:COMP345.12.review.ppt|slide set 12]]
 
||
 
||
 
|-
 
|-

Revision as of 12:33, 1 September 2020

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