Results 1 to 5 of 5

Thread: Constructor question from a C++ newbie

  1. #1

    Thread Starter
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    This is mostly style related, but it makes it a hell of a lot easier to see what's going on if all your member variables are prefixed (with "m_", for example). That way, if you're debugging a complex class, you know exactly what is internal to the class.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  2. #2

  3. #3

    Thread Starter
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well, it's from an old joke: "What does a wabbit take when he wides a twain? A twip!"

    And a twip is 1/15 pixels
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4

  5. #5
    Lively Member
    Join Date
    Jul 2000
    Posts
    94
    Yes, but I'm fast with the Delete!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width