COMP345 - fall 2016
From Dr. Joey Paquet Web Site
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 | H-420 | Paquet, Joey | paquet@encs.concordia.ca | |
lab DI | --W---- | 20:30-22:20 | H-929 | Laleh, Touraj | t_laleh@encs.concordia.ca | |
lab DJ | --W---- | 20:30-22:20 | H-967 | Erfani, Mostafa | m_erfa@encs.concordia.ca | |
office hours D | ---—F-- | 10:00-12:00 | EV-3-221 | Paquet, Joey | ||
lecture N | M-W---- | 16:15-17:30 | H-420 | Taleb, Mohammed | mtaleb@encs.concordia.ca | |
lab NI | --W---- | 17:45-19:35 | H-929 | Koochekian Sabor, Korosh | k_kooche@encs.concordia.ca | |
lab NJ | --W---- | 17:45-19:35 | H-823 | Terzian, Meghrig | m_terzia@encs.concordia.ca | |
lab NK | --W---- | 17:45-19:35 | H-843 | Kokotov, Lev | l_kok@encs.concordia.ca | |
office hours N | TBA | TBA | EV-3-233 | Taleb, Mohammed |
Lecture Schedule
wk | date | event | topics | lecture material | laboratory material |
---|---|---|---|---|---|
week 1 | sep 5 - sep 9 |
|
|||
week 2 | sep 12 - sep 16 |
|
|
||
week 3 | sep 19 - sep 23 |
|
|||
week 4 | sep 26 - oct 30 | ||||
week 5 | oct 3 - oct 7 |
|
|||
week 6 | oct 10 - oct 14 |
|
|
||
week 7 | oct 17 - oct 21 |
|
|||
week 8 | oct 24 - oct 28 |
|
|||
week 9 | nov 31 - nov 4 |
|
|
||
week 10 | nov 7 - nov 11 |
|
|
||
week 11 | nov 14 - nov 18 |
|
|
||
week 12 | nov 21 - nov 25 |
|
|
||
week 13 | nov 28 - dec 2 |
|
|||
week 14 | dec 5 |
|
|||
exam week | dec 9 - dec 22 |
|
Course Material and Resources
- Course outline
- COMP345 Fall 2016 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
- Code from slide set 1
- 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)
Other Material
- Using a revision control system
- Using a unit testing framework: CppUnit [sample code] [[[Media:Cppunit-1.12.1.VS2010_.zip|cppunit library source code]]]