Thread: Vector class

  1. #1
    Unregistered
    Guest

    Vector class

    Is there a STL method which will return a random element from a vector? Its easy enough to write such a method, but I was just wondering if one exists already.
    Thanks.

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    I'll get right on it.
    While I am searching, You can help.
    The world is waiting. I must leave you now.

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Perhaps you should post to the right board? There are no classes in C. Try the C++ forum.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed