|I am a software developer with more than 15 years C++ experience and over 25 years experience developing a wide variety of applications for Windows NT/2000/XP, UNIX, Linux and other platforms. I can help with basic to advanced C++, C (although I do not write just-C much if at all these days so maybe ask in the C section about purely C matters), software development and many platform specific and system development problems.|
Titus B. Ledbetter, Jr.
|C , MFC, Object Oriented, Artificial Intelligence|
I am a bit busy at the moment so I do not have time to go into a huge amount of detail at the moment but built in arrays in C++ are a) always single dimensional b) always have elements of fixed size
Place your set of numbers into an array then select entries from the array based on a random index value from 0 to number-of-elements - 1. You do not mention if you are familiar with (pseudo) random