Hey guys, how would i create a random number to decide whether it should enqueue the customer or not. thank you.
react05
0
Light Poster
Recommended Answers
Jump to Postsrand(time(NULL)); //seed int lino = rand(); //rand number
To use these functions you must
#include <cstdlib>
All 5 Replies
react05
0
Light Poster
chary8088
-3
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Sohel Khan
0
Newbie Poster
alex034
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.