Search:

Type: Posts; User: Motisa

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    863

    A queue requires that the first element into the...

    A queue requires that the first element into the container be the first out out of the container, hence a queue needs to support both the push_back and pop_front functions. I believe that vector...
  2. Replies
    3
    Views
    863

    Containers Queue can be built on

    a queue cannot be built using the container vector because vector does not support pop_front.

    can anyone verify the validity of this statment for me... or if this is not the main reason a queue...
  3. Thread: break statement

    by Motisa
    Replies
    2
    Views
    1,531

    yes, but i think it is more efficent to break out...

    yes, but i think it is more efficent to break out of the loop once it finds one card that doesn't have the same suit as the other ones because it cannot be a royal flush.
  4. Thread: break statement

    by Motisa
    Replies
    2
    Views
    1,531

    break statement

    sorry for asking such a simple question, but i'm not too comfortable using break statements outside of switch.

    Will the my break statement take me outside of the loop if the condition is true?
    ...
Results 1 to 4 of 4