Week 15 - More on Classes
Submitted by Steve on 2 March, 2008 - 23:15.| C++ Study w/e 2 Mar 2008 | |
| Week #: |
15
|
| Week Hours: |
21.4
|
| Total Hours: |
179.0
|
Week # 15 done and dusted and what a whopping week it was. 21 hours all up, evenly spread over 5 days, actually 6 days but the sixth day (Saturday) was only 30 mins worth.
As I'm writing this late Sunday night my primary reference book (C++ Primer Plus, Fifth Edition) is sitting open next to me, bookmark in place, at page 668. What's bugging me is that I'm only a tad past the half-way mark. The remaining pages looks ever so thick and I'm hoping it's not going to take another 15 weeks to complete. I don't think so but at the same time I'm not going to get ahead of myself at the expense not really understanding the goods.
For this week I completed Chapter 12 which dealt with Classes and Dynamic Memory Allocation. General topics including implicit & explicit member functions - and, can that be confusing. Default constructors, copy constructors (shallow/deep copying), overloaded assignment operator - similar issues as per copy constructor along with checking for self-assignment. Matching of new with delete and to further complicate things the use of placement new which impacts upon destructors.
Commennced Chapter 13 which introduced Class Inheritance. Explored virtual functions, static (early) and dynamic (late) bindings and pointer & reference type compatibility.
Next Week - Week 16
More of the same, hoping for around 20 odd hours.
- Steve's blog
- Add new comment
- 61 reads
- Email this page


Recent comments
10 weeks 1 day ago
12 weeks 1 day ago
13 weeks 3 days ago
14 weeks 12 hours ago
14 weeks 17 hours ago
14 weeks 1 day ago
17 weeks 13 hours ago
18 weeks 5 days ago
18 weeks 5 days ago
19 weeks 14 hours ago