CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: xyliosist

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    I guess I should use QList instead of QVector. If I understood right, lists are not reallocated.
  2. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    -reply with qoute
    -multi-quote
    -quick reply
    that's what I see Paul.
    And thanks for replies :)
  3. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    when reallocating does whole vector move? or only it's elements?
    Following this http://doc.qt.nokia.com/qq/qq19-containers.html, if I understand properly, the location of vector's head is...
  4. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    1) I'f you'd be so kind to tell me where can I edit my post.
    2) why do I need QVector of word pointers? Because I need to have only one instance of word appearing in many classes like
    - word needs...
  5. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    so Paul, what can I do?
    Creating "long enough" vector, not needing to expand, isn't a choice.
    How does Map work? It re-allocates too?
  6. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    [sorry for writing another post, but couldn't find "edit this post" button]
    and what If I have QVector<someClass*> vector and I want to return one of the pointers?
    Is
    return vector[0];...
  7. Replies
    13
    Views
    10,282

    Re: [Qt] Pointer auto-deassignment problem.

    All of you, I'm sorry for not using code syntax, in hurry couldn't find it.
    Philip, and that's what I was worrying about [pt 2].
    How can I avoid this?
    I have 2 classes which have inside...
  8. Replies
    13
    Views
    10,282

    [Qt] Pointer auto-deassignment problem.

    Hello there.
    I've been struggling with this problem for 2 days [~30hours]. I'm writing my master thesis, and I'm stuck with pointers. Below I'll present some sample code. But what's the problem?
    I...
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured