Destructor - Execution problem

This is a discussion on Destructor - Execution problem within the C++ Programming forums, part of the General Programming Boards category; Sheeesh, I can't even copy out of my book correctly. My authors version of the postfix is const Counter Counter: ...

  1. #16
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    Sheeesh, I can't even copy out of my book correctly. My authors version of the postfix is

    const Counter Counter:perator++(int theFlag)

    not

    const Counter & Counter:perator:int theFlag)

    just as Hunter2 pointed out.

  2. #17
    Registered User
    Join Date
    Sep 2004
    Posts
    15
    hi elad,

    i'll take a look at this as well. the author's name as previously mentioned is Don Gosselin. i do not think he has the ability to clearly express all of the matters that should be expressed when elaborating on C++, especially concerning anything i have reviewed in the 5th chapter of his text - which is supposedly devoted to memory management, overloaded assignment operators, parameterized constructors, copy constructors, default constructors, destructors, static members, static member functions, and a couple of other items. bottom line, he may know programming, he may be a decent fellow, but he does not have the ability to communicate or express the deficiencies that become readily apparent when the user begins to test his tutorship. i like to get a book, read it 3 - 5 times and complete every exercise offered throughout the text. when i start having questions that are not remotely addressed, in addition to syntactical errors i find within the text, i really have lesser of an appreciation for the individual who wrote the book. thanks again...

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 10:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21