By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 959 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Visual C++ 2008 express edition

P: 1
Hi, im trying to create a random number game. Im not sure how to have the progam select a random number from my array. I know in Java there is the Math.random thing, but i forget in C++ what you do any help?
Aug 4 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
Try rand() and srand().
Aug 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.