Prime 357

We'll learn something

Site Menu

  • Home
  • Recent Posts
  • Forum
    • Programming Languages
      • C++
    • Website Design & Content Management
      • Wordpress >> Drupal
  • Blogs
  • Topics
    • C++
    • Changing hosts - Dummies Guide
    • Wordpress >> Drupal
  • Download Centre
  • Contact us
Home Blogs Steve's blog


Image - OpenID

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Recent posts

Topics

  • C++ (The Book)
  • Changing Hosts - a Dummies Guide
  • Wordpress to Drupal

Recent comments

  • Got it solved This page here
    2 hours 43 min ago
  • Links working
    1 day 2 hours ago
  • Thanks... I may be able to
    1 day 8 hours ago
  • 3306 by default
    1 day 18 hours ago
  • Is this the right place to
    1 day 19 hours ago
  • Figured
    3 weeks 6 days ago
  • I'm guessing at this stage
    3 weeks 6 days ago
  • WordPress MU?
    4 weeks 3 hours ago
  • Thanks
    10 weeks 1 day ago
  • I'm running the conversion
    11 weeks 5 days ago

New forum topics

  • What should the port number be
  • WordPress MU?
  • funny little bug in mac version
  • Error: Unable to Insert into Node_revisions table when converting from wordpress 2.6.0 to drupal 6.4
  • index.php?
more

Who's online

There are currently 0 users and 0 guests online.

Who's new

  • oODeathStormOo
  • leruffiant
  • Emtee
  • mnogodet
  • ZioMimmo

Week 15 - More on Classes

  • View
  • Revisions
Submitted by Steve on Sun, 2 Mar, 2008 - 23:15
  • C++
  • study
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
  • Login or register to post comments
  • 179 reads

 Subscribe in a reader

free hit counter


RoopleTheme