Vector class

This is a discussion on Vector class within the C Programming forums, part of the General Programming Boards category; Is there a STL method which will return a random element from a vector? Its easy enough to write such ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21