Difference between revisions of "COMP345 - fall 2014"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(38 intermediate revisions by one user not shown)
Line 37: Line 37:
 
|}
 
|}
  
==Lecture Schedule==
+
==Lecture Schedule==  
 
+
NOTE: Links in red are pointing to last year's material and will be updated as the semester proceeds.
+
  
 
{| {{simpleTable}}
 
{| {{simpleTable}}
Line 45: Line 43:
 
! {{tableHeaderCell}} | date
 
! {{tableHeaderCell}} | date
 
! {{tableHeaderCell}} | event
 
! {{tableHeaderCell}} | event
! {{tableHeaderCell}} | lecture topics (TENTATIVE)
+
! {{tableHeaderCell}} | lecture topics
! {{tableHeaderCell}} | material (TENTATIVE)
+
! {{tableHeaderCell}} | material
 
|-
 
|-
 
|| week 1
 
|| week 1
Line 79: Line 77:
 
*structures, classes
 
*structures, classes
 
*inheritance
 
*inheritance
*constructors, const, inline, static
+
*constructors, destructors
 +
*const, inline, static
 +
*friends
 
||
 
||
 
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
 
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
Line 95: Line 95:
 
||
 
||
 
*arrays, dynamic arrays
 
*arrays, dynamic arrays
*STL containers, iterators
 
 
||
 
||
 
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
 
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
Line 108: Line 107:
 
||
 
||
 
*[[Media:COMP345.6.MVC.ppt |Slide set 6]]
 
*[[Media:COMP345.6.MVC.ppt |Slide set 6]]
*[[Media:COMP345.GUIslides.titus.zip|lab GUI slides]]
 
*[[Media:MFCTutorial.zip|Example MFC code]]
 
*[[Media:GUI_design_in_C++_1.pdf|lab's GUI slides 1]]
 
*[[Media:GUI_design_in_C++_2.pdf|lab's GUI slides 2]]
 
*[[Media:GUI_design_in_C++_3.pdf|lab's GUI slides 3]]
 
*[[Media:GUI_design_in_C++_4.pdf|lab's GUI slides 4]]
 
*[[Media:simpleShapes.zip|lab's GUI example code 1]]
 
*[[Media:Dialogs.zip|lab's GUI example code 2]]
 
 
|-
 
|-
 
|| week 7
 
|| week 7
Line 121: Line 112:
 
||
 
||
 
*[oct 14-16] midterm examination  
 
*[oct 14-16] midterm examination  
*[[Media:Assignment2.COMP345.2013.2.pdf|<span style="color:#FF0000">individual programming assignment #2 handout]]
+
*[[Media:Assignment2.COMP345.2014.2.pdf|individual programming assignment #2 handout]]
*[[Media:Gradingintermediateproject.COMP345.paquet.2013.2.pdf|<span style="color:#FF0000">project build #1 grading sheet handout]]
+
*[[Media:Gradingintermediateproject.COMP345.paquet.2014.2.pdf|project build #1 grading sheet handout]]
*[oct 17] individual programming assignment #1 due
+
*[oct 19] individual programming assignment #1 due
 
||
 
||
 
||
 
||
Line 132: Line 123:
 
*[oct 26] Deadline for withdrawal
 
*[oct 26] Deadline for withdrawal
 
||
 
||
*polymorphism, virtual functions
+
*polymorphism
 +
*virtual functions
 +
*abstract classes
 +
*slicing problem, value and reference semantics
 +
*virtual function tables
 +
*diamond problem, virtual inheritance
 
||
 
||
 
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
 
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
Line 139: Line 135:
 
|| oct 27 - oct 31
 
|| oct 27 - oct 31
 
||
 
||
*[[Media:Assignment3.COMP345.2013.2.pdf|<span style="color:#FF0000">individual programming assignment #3 handout]]
+
*[[Media:Assignment3.COMP345.2014.2.pdf|individual programming assignment #3 handout]]
*[oct 31] individual programming assignment #2 due
+
*[nov 3] individual programming assignment #2 due
 
||
 
||
 
*design patterns in C++
 
*design patterns in C++
 
||
 
||
*[[Media:COMP345.7.patterns.ppt|<span style="color:#FF0000">Slide set 7]]
+
*[[Media:COMP345.8.patterns.ppt|Slide set 8]]
*[[Media:PatternsC--.zip|design patterns implemented in C++ (1)]]
+
*[[Media:DPCPP.zip|design patterns implemented in C++ (2)]]
+
*[[Media:CPP Patterns.zip|design patterns examples from the slides]]
+
 
|-
 
|-
 
|| week 10
 
|| week 10
 
|| nov 3 - nov 7
 
|| nov 3 - nov 7
 
||
 
||
*[nov 5-6] [[intermediate project delivery COMP345 Fall 2013|<span style="color:#FF0000">intermediate project delivery due]]  
+
*[nov 5-6] [[intermediate project delivery COMP345 Fall 2014|intermediate project delivery due]]  
 
||
 
||
 
*operator overloading
 
*operator overloading
 
||
 
||
*[[Media:COMP345.8.operators.ppt|<span style="color:#FF0000">Slide set 8]]
+
*[[Media:COMP345.9.operators.ppt |Slide set 9]]
*[[Media:Sav_ch08.ppt|<span style="color:#FF0000">Savitch chapter 8 slides]]
+
 
|-
 
|-
 
|| week 11
 
|| week 11
 
|| nov 10 - nov 14
 
|| nov 10 - nov 14
 
||
 
||
*[[Media:Gradingfinalproject.COMP345.paquet.2013.2.pdf|<span style="color:#FF0000">final project build grading sheet handout]]
+
*[[Media:Gradingfinalproject.COMP345.paquet.2014.2.pdf|final project build grading sheet handout]]
 
||
 
||
 
*exception handling
 
*exception handling
 
||
 
||
*[[Media:COMP345.9.exceptions.ppt|<span style="color:#FF0000">Slide set 9]]
+
*[[Media:COMP345.10.exceptions.ppt|Slide set 10]]
*[[Media:Sav_ch18.ppt|<span style="color:#FF0000">Savitch chapter 18 slides]]
+
 
|-
 
|-
 
|| week 12
 
|| week 12
Line 176: Line 167:
 
*templates metaprogramming
 
*templates metaprogramming
 
||
 
||
*[[Media:COMP345.10.templates.ppt|<span style="color:#FF0000">Slide set 10]]
+
*[[Media:COMP345.11.templates.ppt|Slide set 11]]
*[[Media:Sav_ch16.ppt|<span style="color:#FF0000">Savitch chapter 16 slides]]
+
*[[Media:Sav_ch19.ppt|<span style="color:#FF0000">Savitch chapter 19 slides]]
+
 
|-
 
|-
 
|| week 13
 
|| week 13
 
|| nov 24 - nov 28
 
|| nov 24 - nov 28
 
||
 
||
*[nov 26-27][[final project delivery COMP345 fall 2013|<span style="color:#FF0000">final project delivery due]]
+
*[nov 27][[final project delivery COMP345 fall 2014| final project delivery due]]
 
||  
 
||  
 
||
 
||
Line 190: Line 179:
 
|| dec 3 - dec 18
 
|| dec 3 - dec 18
 
||
 
||
*final examination : TBA
+
*final examination : Wed, Dec 3 14h-17h - A-O MBS1.235, P-Z MBS1.430 (confirmed)
 
||
 
||
 
||
 
||
Line 202: Line 191:
 
*[[Media:SourceCode4e.zip|Source code of all program examples in Walter Savitch's "Absolute C++"]]
 
*[[Media:SourceCode4e.zip|Source code of all program examples in Walter Savitch's "Absolute C++"]]
 
*[[Media:Liang_Code.zip|Source code of all program examples in Daniel Liang's "Introduction to Programming with C++"]]
 
*[[Media:Liang_Code.zip|Source code of all program examples in Daniel Liang's "Introduction to Programming with C++"]]
*[[Media:MFCSerializationDemo.zip|MFC Serialization]]
+
===Code used in the lecture slides===
*[[Media:AbstractGeometricObject.zip|Abstract class]]
+
*[[Media:MFCSerializationDemo.zip|MFC serialization]]
*[[Media:ClockObserver.zip|Observer Pattern]]
+
*[[Media:AbstractGeometricObject.zip|Abstract classes]]
 +
*[[Media:Polymorphism.zip|Polymorphism]]
 +
*[[Media:ClockObserver.zip|Observer pattern]]
 +
*[[Media:C++Patterns.zip|Design patterns]]
 +
*[[Media:VirtualInheritance.zip|Virtual Inheritance]]
 +
*[[Media:Private Inheritance.zip|Private Inheritance]]
 +
*[[Media:Operators.zip|Operator Overloading]]
 +
*[[Media:Exceptions.zip|Exception Handling]]
 +
*[[Media:Templates.zip|Templates]]
 +
*[[Media:PatternsC--.zip|design patterns implemented in C++ (1)]]
 +
*[[Media:DPCPP.zip|design patterns implemented in C++ (2)]]
  
==Other Material==
+
===Other Material===
 
*[[Media:SOEN6441.repository.ppt|Using a revision control system]]
 
*[[Media:SOEN6441.repository.ppt|Using a revision control system]]

Latest revision as of 11:59, 21 November 2014

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