Difference between revisions of "COMP345 - fall 2014"

From Dr. Joey Paquet Web Site
Jump to: navigation, search
(Lecture Schedule)
(Lecture Schedule)
 
(72 intermediate revisions by one user not shown)
Line 20: Line 20:
 
! {{tableHeaderCell}} | web site
 
! {{tableHeaderCell}} | web site
 
|-
 
|-
|| lecture D          || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || <tt>FG B070</tt>      || Paquet, J.                    || paquet@cse.concordia.ca    ||
+
|| lecture D          || <tt>-T-J---</tt> || <tt>13:15-14:30</tt> || <tt>FG-B070</tt>      || Paquet, Joey                  || paquet@cse.concordia.ca    ||
 
|-
 
|-
|| lab DI            || <tt>--W----</tt> || <tt>20:30-22:00</tt> || <tt>TBA</tt>         || TBA                          ||                           ||
+
|| lab DI            || <tt>--W----</tt> || <tt>20:30-22:00</tt> || <tt>H-831</tt>       || Zafar Asoodeh, Amir          || am_zafa@encs.concordia.ca  ||
 
|-
 
|-
|| lab DJ            || <tt>--W----</tt> || <tt>20:30-22:00</tt> || <tt>TBA</tt>         || TBA                          ||                           ||
+
|| lab DJ            || <tt>--W----</tt> || <tt>20:30-22:00</tt> || <tt>H-847</tt>       || Laleh, Touraj                || t_laleh@encs.concordia.ca  ||
 
|-
 
|-
|| office hours D    || <tt>--W---</tt> || <tt>11:00-13:00</tt> || <tt>EV-3-221</tt>    || Paquet, J.                    ||                            ||
+
|| office hours D    || <tt>---—F--</tt> || <tt>10:00-12:00</tt> || <tt>EV-3-221</tt>    || Paquet, Joey                  ||                            ||
 
|-   
 
|-   
|| lecture N          || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || <tt>FG B070</tt>      || Sinnig, D                    || d_sinnig@encs.concordia.ca ||
+
|| lecture N          || <tt>M-W----</tt> || <tt>16:15-17:30</tt> || <tt>FG-B070</tt>      || Sinnig, Daniel                || d_sinnig@encs.concordia.ca ||
 
|-
 
|-
|| lab NI            || <tt>--W----</tt> || <tt>18:00-21:00</tt> || <tt>TBA</tt>         || TBA                          ||                           ||
+
|| lab NI            || <tt>--W----</tt> || <tt>18:00-21:00</tt> || <tt>H-929</tt>       || Novikov, Dimitri              || dimanovi@hotmail.com      ||
 
|-
 
|-
|| lab NJ            || <tt>--W----</tt> || <tt>18:00-21:00</tt> || <tt>H-821</tt>        || TBA                          ||                           ||
+
|| lab NJ            || <tt>--W----</tt> || <tt>18:00-21:00</tt> || <tt>H-847</tt>        || Huot, Alexandre              || huot.alex@gmail.com        ||
 
|-
 
|-
|| office hours N    || TBA              ||                      ||                      || Sinnig, D                    ||                            ||  
+
|| office hours N    || TBA              ||                      ||                      || Sinnig, Daniel                ||                            ||  
 
|}
 
|}
  
==Lecture Schedule==
+
==Lecture Schedule==  
  
 
{| {{simpleTable}}
 
{| {{simpleTable}}
Line 43: 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
 
|| sep 1 - sep 5
 
|| sep 1 - sep 5
 
||  
 
||  
*[[COMP345 project description fall 2013|project description handout]]
+
*[[Media:Project.COMP345.2014.2.pdf|project description handout]]
 
||  
 
||  
 
*introduction to the course and project
 
*introduction to the course and project
Line 62: Line 62:
 
||
 
||
 
*program organization
 
*program organization
*separate compilation, namespaces
+
*compilation units, namespaces
 
*data types, type coercion
 
*data types, type coercion
 +
*streams
 
*pointers  
 
*pointers  
 
||
 
||
Line 76: Line 77:
 
*structures, classes
 
*structures, classes
 
*inheritance
 
*inheritance
*constructors, const, inline, static
+
*constructors, destructors
 +
*const, inline, static
 +
*friends
 
||
 
||
*[[Media:COMP345.2.classes.ppt|Slide set 2]]
+
*[[Media:COMP345.4.classes.ppt|Slide set 4]]
*[[Media:Sav_ch06.ppt|Savitch chapter 6 slides]]
+
*[[Media:Sav_ch14.ppt|Savitch chapter 14 slides]]
+
*[[Media:Sav_ch07.ppt|Savitch chapter 7 slides]]
+
 
|-
 
|-
 
|| week 4
 
|| week 4
 
|| sep 22 - sep 26
 
|| sep 22 - sep 26
 
||
 
||
*[[Media:Assignment1.COMP345.2013.2.pdf|individual programming assignment #1 handout]]
+
*[[Media:Assignment1.COMP345.2014.2.pdf |individual programming assignment #1 handout]]
 
||
 
||
 
||
 
||
Line 95: Line 95:
 
||
 
||
 
*arrays, dynamic arrays
 
*arrays, dynamic arrays
*STL containers, iterators
 
 
||
 
||
*[[Media:COMP345.3.arrays.ppt|Slide set 3]]
+
*[[Media:COMP345.5.arrays.ppt|Slide set 5]]
*[[Media:Sav_ch05.ppt|Savitch chapter 5 slides]]
+
*[[Media:Sav_ch10.ppt|Savitch chapter 10 slides]]
+
*[[Media:Sav_ch07.ppt|Savitch chapter 7 slides]]
+
*[[Media:Sav_ch19.ppt|Savitch chapter 19 slides]]
+
 
|-
 
|-
 
|| week 6
 
|| week 6
 
|| oct 6 - oct 10
 
|| oct 6 - oct 10
 
||
 
||
 +
*[oct 7] [http://placedesarts.com/shows/event.en.html?event.id=14961 Bjarne Stroustrup's conference on C++ (no lecture)]
 
||
 
||
 
*MVC architecture
 
*MVC architecture
 
*observer pattern
 
*observer pattern
 
||
 
||
*[[Media:COMP345.5.MVC-Observer.ppt|MVC and the Observer Pattern in C++]]
+
*[[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 124: Line 112:
 
||
 
||
 
*[oct 14-16] midterm examination  
 
*[oct 14-16] midterm examination  
*[[Media:Assignment2.COMP345.2013.2.pdf|individual programming assignment #2 handout]]
+
*[[Media:Assignment2.COMP345.2014.2.pdf|individual programming assignment #2 handout]]
*[[Media:Gradingintermediateproject.COMP345.paquet.2013.2.pdf|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 135: 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.6.virtuals.ppt|Slide set 6]]
+
*[[Media:COMP345.7.polymorphism.ppt |Slide set 7]]
*[[Media:Sav_ch15.ppt|Savitch chapter 15 slides]]
+
 
|-
 
|-
 
|| week 9
 
|| week 9
 
|| oct 27 - oct 31
 
|| oct 27 - oct 31
 
||
 
||
*[[Media:Assignment3.COMP345.2013.2.pdf|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|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|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|Slide set 8]]
+
*[[Media:COMP345.9.operators.ppt |Slide set 9]]
*[[Media:Sav_ch08.ppt|Savitch chapter 8 slides]]
+
 
|-
 
|-
 
|| week 11
 
|| week 11
 
|| nov 10 - nov 14
 
|| nov 10 - nov 14
 
||
 
||
*[[Media:Gradingfinalproject.COMP345.paquet.2013.2.pdf|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|Slide set 9]]
+
*[[Media:COMP345.10.exceptions.ppt|Slide set 10]]
*[[Media:Sav_ch18.ppt|Savitch chapter 18 slides]]
+
 
|-
 
|-
 
|| week 12
 
|| week 12
Line 180: Line 167:
 
*templates metaprogramming
 
*templates metaprogramming
 
||
 
||
*[[Media:COMP345.10.templates.ppt|Slide set 10]]
+
*[[Media:COMP345.11.templates.ppt|Slide set 11]]
*[[Generic_programming: class templates, function templates, templates and inheritance, vectors, iterators|templates in C++]]
+
*[[Media:Sav_ch16.ppt|Savitch chapter 16 slides]]
+
*[[Media:Sav_ch19.ppt|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|final project delivery due]]
+
*[nov 27][[final project delivery COMP345 fall 2014| final project delivery due]]
 
||  
 
||  
 
||
 
||
Line 195: 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 203: Line 187:
  
 
*[[Media:Syllabus.COMP345.paquet.2014.2.pdf ‎|Course outline]]
 
*[[Media:Syllabus.COMP345.paquet.2014.2.pdf ‎|Course outline]]
 +
*[[COMP345 section D fall 2014 teams]]
 
*[https://fis.encs.concordia.ca/eas/servlet/description ENCS Electronic Student Submission System]
 
*[https://fis.encs.concordia.ca/eas/servlet/description ENCS Electronic Student Submission System]
 
*[[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++"]]
 +
===Code used in the lecture slides===
 +
*[[Media:MFCSerializationDemo.zip|MFC serialization]]
 +
*[[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===
 +
*[[Media:SOEN6441.repository.ppt|Using a revision control system]]

Latest revision as of 10: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