Week 15 - More on Classes

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.

Reply

The content of this field is kept private and will not be shown publicly.
6 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

web stats