Difference between revisions of "COMP345 - fall 2014"
From Dr. Joey Paquet Web Site
(→Lecture Schedule) |
(→Lecture Schedule) |
||
(76 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, | + | || 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> | + | || 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> | + | || 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>-- | + | || 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, | + | || 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> | + | || 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- | + | || 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, | + | || 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 | + | ! {{tableHeaderCell}} | lecture topics |
− | ! {{tableHeaderCell}} | material | + | ! {{tableHeaderCell}} | material |
|- | |- | ||
|| week 1 | || week 1 | ||
|| sep 1 - sep 5 | || sep 1 - sep 5 | ||
|| | || | ||
− | *[[COMP345 | + | *[[Media:Project.COMP345.2014.2.pdf|project description handout]] |
|| | || | ||
*introduction to the course and project | *introduction to the course and project | ||
+ | *introduction to C++ | ||
|| | || | ||
*[[Media:COMP345.0.introduction.ppt|Slide set 0]] | *[[Media:COMP345.0.introduction.ppt|Slide set 0]] | ||
Line 60: | Line 61: | ||
*[sep 12] group formation deadline | *[sep 12] group formation deadline | ||
|| | || | ||
− | |||
− | |||
*program organization | *program organization | ||
+ | *compilation units, namespaces | ||
+ | *data types, type coercion | ||
+ | *streams | ||
+ | *pointers | ||
|| | || | ||
*[[Media:COMP345.1.programstructure.ppt|Slide set 1]] | *[[Media:COMP345.1.programstructure.ppt|Slide set 1]] | ||
Line 72: | Line 75: | ||
|| | || | ||
|| | || | ||
− | * | + | *structures, classes |
− | * | + | *inheritance |
− | * | + | *constructors, destructors |
+ | *const, inline, static | ||
+ | *friends | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.4.classes.ppt|Slide set 4]] |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| week 4 | || week 4 | ||
|| sep 22 - sep 26 | || sep 22 - sep 26 | ||
|| | || | ||
− | *[[Media:Assignment1.COMP345. | + | *[[Media:Assignment1.COMP345.2014.2.pdf |individual programming assignment #1 handout]] |
|| | || | ||
|| | || | ||
Line 92: | Line 94: | ||
|| | || | ||
|| | || | ||
− | * | + | *arrays, dynamic arrays |
− | + | ||
− | + | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.5.arrays.ppt|Slide set 5]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| 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 |
+ | *observer pattern | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.6.MVC.ppt |Slide set 6]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| week 7 | || week 7 | ||
Line 122: | Line 112: | ||
|| | || | ||
*[oct 14-16] midterm examination | *[oct 14-16] midterm examination | ||
− | *[[Media:Assignment2.COMP345. | + | *[[Media:Assignment2.COMP345.2014.2.pdf|individual programming assignment #2 handout]] |
− | *[[Media:Gradingintermediateproject.COMP345.paquet. | + | *[[Media:Gradingintermediateproject.COMP345.paquet.2014.2.pdf|project build #1 grading sheet handout]] |
− | *[oct | + | *[oct 19] individual programming assignment #1 due |
|| | || | ||
|| | || | ||
Line 133: | Line 123: | ||
*[oct 26] Deadline for withdrawal | *[oct 26] Deadline for withdrawal | ||
|| | || | ||
− | * | + | *polymorphism |
+ | *virtual functions | ||
+ | *abstract classes | ||
+ | *slicing problem, value and reference semantics | ||
+ | *virtual function tables | ||
+ | *diamond problem, virtual inheritance | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.7.polymorphism.ppt |Slide set 7]] |
− | + | ||
|- | |- | ||
|| week 9 | || week 9 | ||
|| oct 27 - oct 31 | || oct 27 - oct 31 | ||
|| | || | ||
− | *[[Media:Assignment3.COMP345. | + | *[[Media:Assignment3.COMP345.2014.2.pdf|individual programming assignment #3 handout]] |
− | *[ | + | *[nov 3] individual programming assignment #2 due |
|| | || | ||
*design patterns in C++ | *design patterns in C++ | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.8.patterns.ppt|Slide set 8]] |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| week 10 | || week 10 | ||
|| nov 3 - nov 7 | || nov 3 - nov 7 | ||
|| | || | ||
− | *[nov 5-6] [[intermediate project delivery COMP345 Fall | + | *[nov 5-6] [[intermediate project delivery COMP345 Fall 2014|intermediate project delivery due]] |
|| | || | ||
− | * | + | *operator overloading |
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.9.operators.ppt |Slide set 9]] |
− | + | ||
|- | |- | ||
|| week 11 | || week 11 | ||
|| nov 10 - nov 14 | || nov 10 - nov 14 | ||
|| | || | ||
− | *[[Media:Gradingfinalproject.COMP345.paquet. | + | *[[Media:Gradingfinalproject.COMP345.paquet.2014.2.pdf|final project build grading sheet handout]] |
|| | || | ||
− | * | + | *exception handling |
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.10.exceptions.ppt|Slide set 10]] |
− | + | ||
|- | |- | ||
|| week 12 | || week 12 | ||
Line 176: | Line 165: | ||
*[nov 21] individual programming assignment #3 due | *[nov 21] individual programming assignment #3 due | ||
|| | || | ||
− | * | + | *templates metaprogramming |
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.11.templates.ppt|Slide set 11]] |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| week 13 | || week 13 | ||
|| nov 24 - nov 28 | || nov 24 - nov 28 | ||
|| | || | ||
− | *[nov | + | *[nov 27][[final project delivery COMP345 fall 2014| final project delivery due]] |
|| | || | ||
|| | || | ||
Line 193: | Line 179: | ||
|| dec 3 - dec 18 | || dec 3 - dec 18 | ||
|| | || | ||
− | *final examination : | + | *final examination : Wed, Dec 3 14h-17h - A-O MBS1.235, P-Z MBS1.430 (confirmed) |
|| | || | ||
|| | || | ||
Line 200: | Line 186: | ||
==Course Material and Resources== | ==Course Material and Resources== | ||
− | *[[Media:Syllabus.COMP345.paquet. | + | *[[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 | + | *[[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++"]] |
+ | ===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 |
|
||
week 2 | sep 8 - sep 12 |
|
|
|
week 3 | sep 15 - sep 19 |
|
||
week 4 | sep 22 - sep 26 | |||
week 5 | sep 29 - oct 3 |
|
||
week 6 | oct 6 - oct 10 |
|
||
week 7 | oct 13 - oct 17 |
|
||
week 8 | oct 20 - oct 24 |
|
|
|
week 9 | oct 27 - oct 31 |
|
|
|
week 10 | nov 3 - nov 7 |
|
|
|
week 11 | nov 10 - nov 14 |
|
||
week 12 | nov 17 - nov 21 |
|
|
|
week 13 | nov 24 - nov 28 |
|
||
exam week | dec 3 - dec 18 |
|
Course Material and Resources
- Course outline
- COMP345 section D fall 2014 teams
- ENCS Electronic Student Submission System
- Source code of all program examples in Walter Savitch's "Absolute C++"
- Source code of all program examples in Daniel Liang's "Introduction to Programming with C++"
Code used in the lecture slides
- MFC serialization
- Abstract classes
- Polymorphism
- Observer pattern
- Design patterns
- Virtual Inheritance
- Private Inheritance
- Operator Overloading
- Exception Handling
- Templates
- design patterns implemented in C++ (1)
- design patterns implemented in C++ (2)