Tim Sloane's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
New Members
Active Posts:
13 (0.02 per day)
Joined:
27-August 12
Profile Views:
1,795
Last Active:
User is offline Oct 22 2012 11:16 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Tim Sloane has not set their status

Posts I've Made

  1. In Topic: Store all combinations of children in a vector of structs

    Posted 25 Sep 2012

    OK, I see what you're doing. Thanks a lot! You've given me a lot of good ideas.
  2. In Topic: Store all combinations of children in a vector of structs

    Posted 24 Sep 2012

    Hello again baavgai!

    I started to implement your method, but I'm not sure I understand your statement about making a vector of instances and looping. Don't I have to instantiate each child class individually (even if it is a vector of the parent class), in which case I can just call "process" after each instantiation, making the vector pointless? More so if I make "process" part of the constructor...
  3. In Topic: Store all combinations of children in a vector of structs

    Posted 21 Sep 2012

    Ah hah! That is a much more O-O way of doing this, thanks! Inheritance and polymorphism are the half of O-O in which I've never developed my skills very well. I really appreciate your help.

    By the way, my daughters saw me reading this thread and asked me what I was talking with Hagrid about. When I told them Hagrid was helping me with C++ programming, they were very surprised. :wink:

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Tim Sloane hasn't added any friends yet.

Comments

Tim Sloane has no profile comments yet. Why not say hello?