Search:

Type: Posts; User: dwylie

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,602

    Yeah. Figured it out. Cheers my friend. D.

    Yeah.
    Figured it out.
    Cheers my friend.
    D.
  2. Replies
    6
    Views
    1,602

    Yep. Just figured that out. You need an...

    Yep.
    Just figured that out.
    You need an instance of the class, to initialize the reference, but you can't get an instance of the class until you've initialised the reference.
    Cool.
    Cheers,
    D.
  3. Replies
    6
    Views
    1,602

    Thanks elad. Good to hear someone agree that the...

    Thanks elad.
    Good to hear someone agree that the former option is impossible so I can just get on with the second without nagging doubts that I should be further investigating the first.
    The use of...
  4. Replies
    6
    Views
    1,602

    Recursive Data Structure

    Hi.
    Pardon me if this is an obvious one...
    Is there a way to get around C++'s refusal to have a class member that's an instance of the class itself...?
    What I'd like is:

    class MyClass {
    int...
  5. Replies
    4
    Views
    1,979

    That only compiles as: //try this:...

    That only compiles as:


    //try this:
    template<class MyTypeOne>
    class Aclass
    {
    void foo();
    //code
    };
  6. Replies
    4
    Views
    1,979

    iterators with nested templates

    Having trouble declaring a class member which is an iterator.
    Problem seems to be something to do with nesting of templatisation.
    Tried various experiments, and alot of googling, but to no avail.
    ...
  7. Replies
    3
    Views
    3,116

    contents of a vector object in ddd

    When using ddd (Data Display Debugger) to debug C code, it can be used to look directly inside the contents of an array, by right-clicking on the array name and selecting "display".
    In my case this...
  8. Replies
    3
    Views
    960

    thanks for the advice

    Right ho.
    I put in the code tags and I am away to start an X-session and learn by experimentation
    D.
  9. Replies
    3
    Views
    960

    A simple question about scope

    Hi, this is my first post.

    It concerns the scope of a loop control counter object declared inside the for statement...

    Here is an example:


    {
    statement;
    ...
Results 1 to 9 of 9