Difference between revisions of "COMP345 - fall 2014"
From Dr. Joey Paquet Web Site
(→Course Material and Resources) |
(→Lecture Schedule) |
||
(41 intermediate revisions by one user not shown) | |||
Line 37: | Line 37: | ||
|} | |} | ||
− | ==Lecture Schedule== | + | ==Lecture Schedule== |
− | + | ||
− | + | ||
{| {{simpleTable}} | {| {{simpleTable}} | ||
Line 45: | Line 43: | ||
! {{tableHeaderCell}} | date | ! {{tableHeaderCell}} | date | ||
! {{tableHeaderCell}} | event | ! {{tableHeaderCell}} | event | ||
− | ! {{tableHeaderCell}} | lecture topics | + | ! {{tableHeaderCell}} | lecture topics |
− | ! {{tableHeaderCell}} | material | + | ! {{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 | ||
− | |||
|| | || | ||
*[[Media:COMP345.5.arrays.ppt|Slide set 5]] | *[[Media:COMP345.5.arrays.ppt|Slide set 5]] | ||
Line 107: | Line 106: | ||
*observer pattern | *observer pattern | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.6.MVC.ppt |Slide set 6]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
|| week 7 | || week 7 | ||
Line 121: | 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 132: | Line 123: | ||
*[oct 26] Deadline for withdrawal | *[oct 26] Deadline for withdrawal | ||
|| | || | ||
− | *polymorphism | + | *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 | *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 | *exception handling | ||
|| | || | ||
− | *[[Media:COMP345. | + | *[[Media:COMP345.10.exceptions.ppt|Slide set 10]] |
− | + | ||
|- | |- | ||
|| week 12 | || week 12 | ||
Line 177: | Line 167: | ||
*templates metaprogramming | *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 191: | 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 203: | 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 | + | ===Code used in the lecture slides=== |
− | *[[Media:AbstractGeometricObject.zip|Abstract | + | *[[Media:MFCSerializationDemo.zip|MFC serialization]] |
− | *[[Media:ClockObserver.zip|Observer | + | *[[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 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)