Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

random display of data ?

 
Mahesh Bhatt
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am developing a small application and am struck at a problem, I have a vector that has some questions as Strings, I generate an array of random numbers and display the items in the question vector as per the random array.Now I have two or more vectors with questions and i have the same array of random numbers, how do I dispaly equal number of questions from these vectors.

regards
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it as simple as this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic