Thread: Object Oriented Design help!! ;(

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    17

    Object Oriented Design help!! ;(

    Hello all,

    I love to program, but I am having trouble designing objects that I want to use in my program. Many objects must interact with others, which I know how to do, but I am looking for a website or SOMETHING that focuses specifically on the DESIGN of objects. For example:

    1) What member functions would I need for object?
    2) Data members?
    3) How to write efficient member functions?
    4) How to write efficient class interfaces so objects that need to interact can do so AS SMOOTHLY AS POSSIBLE!!?

    Anyone who has some advice or knows of a book/site (book preferable, I suppose. ), please help!!

    cpp4ever
    ------------------------------------------
    Normally I'd put something clever, but that isn't the point of being here now is it?

  2. #2
    Unregistered
    Guest
    over at gamedev.net there's some articles on program design, reusable code, and game design that address the issues of how to write good reusable code which is pretty much the idea of objects from the way I've seen them used.

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    A lot of people find UML a big help for designing classes and systems. A search for UML at google should throw up a million links.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    actually try here
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. new to object oriented!!!!
    By salmanriaz in forum C++ Programming
    Replies: 2
    Last Post: 03-12-2009, 07:43 AM
  2. Good way to prepare for an object oriented job test
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 08-12-2008, 11:58 AM
  3. Include Problems
    By loopshot in forum Game Programming
    Replies: 13
    Last Post: 02-17-2006, 03:22 PM
  4. Object oriented job questions
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-28-2004, 05:06 AM
  5. OO Design regarding returning a value from an object
    By filler_bunny in forum C++ Programming
    Replies: 6
    Last Post: 08-24-2003, 05:57 AM