DQueue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • krish

    DQueue

    hello,

    i have a doubt .

    what is the differnece between dqueue and queue.

    what it stands for 'd' in the dqueue.

    regards
    krish
  • Daniel Seitz

    #2
    Re: DQueue


    krish wrote in message <3685e334.03072 52230.12fa1070@ posting.google. com>...[color=blue]
    >hello,
    >
    >i have a doubt .
    >
    >what is the differnece between dqueue and queue.
    >
    >what it stands for 'd' in the dqueue.
    >
    >regards
    >krish[/color]

    std::deque<>, pronounced "deck" stands for double-ended queue. It supports
    insertions and both ends (front and back) and random insertion. Prefer it
    over std::vector<> when you wish to insert mostly at the beginning and end.
    Some would recommend prefering it more, but I'll leave you to research
    furthur.


    Comment

    • Daniel Seitz

      #3
      Re: DQueue

      It's very late here, so I apologize if my post was difficult to comprehend.


      Comment

      • John Harrison

        #4
        Re: DQueue


        "krish" <krish_cnp@hotm ail.com> wrote in message
        news:3685e334.0 307252230.12fa1 070@posting.goo gle.com...[color=blue]
        > hello,
        >
        > i have a doubt .
        >
        > what is the differnece between dqueue and queue.
        >
        > what it stands for 'd' in the dqueue.
        >
        > regards
        > krish[/color]

        What is the context? There is a queue in C++ but there is no dqueue. Perhaps
        you could explain a little bit more about where you heard the term dqueue?
        It is not a C++ term.

        john


        Comment

        • krish

          #5
          Re: DQueue

          Daer "Daniel Seitz"

          thank you . Now i am cleard dqueue.
          by
          krish

          Comment

          Working...