Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
How do you guys limit rand() results to a range?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="DFS, post: 5163804"] ha! I ran it 3x. It spit out the same set of numbers each time: 471371441210092359788123968142812184305707186212696807660766600741796518517104183152211929905651609000124162460704934537682346850821676420697715568000994776507284982399312165110415264434169198821448611078785597205543392112344186259905591693732028121484809243503997223530895166900899213546766802358427495144992159311664158081816648249141071851532971182368592456215209414841065235518915403860889415051777874643527817110139655971122121806212303727100296782579742403581121715528632759741168069545561048331423104543944511308042236669471311252886712411298032197945013916353275181493902383547742078129646926216929338771527872135181672385018062766411066939581725372671485128032729861562129681395823417953712767461161853730178163434460714815420951789082527183588465331919216517216353902160869769338762960187268107218298145639185761931872254452431701385032480574265320834696431521953928583821728091326113415108194198499266029217555515249571285364129793001620924106492346668264466121866747064164013155437021333 7153310348111770904127537067114468902677729750735081889859901518074927458331 471371441210092359788123968142812184305707186212696807660766600741796518517104183152211929905651609000124162460704934537682346850821676420697715568000994776507284982399312165110415264434169198821448611078785597205543392112344186259905591693732028121484809243503997223530895166900899213546766802358427495144992159311664158081816648249141071851532971182368592456215209414841065235518915403860889415051777874643527817110139655971122121806212303727100296782579742403581121715528632759741168069545561048331423104543944511308042236669471311252886712411298032197945013916353275181493902383547742078129646926216929338771527872135181672385018062766411066939581725372671485128032729861562129681395823417953712767461161853730178163434460714815420951789082527183588465331919216517216353902160869769338762960187268107218298145639185761931872254452431701385032480574265320834696431521953928583821728091326113415108194198499266029217555515249571285364129793001620924106492346668264466121866747064164013155437021333 7153310348111770904127537067114468902677729750735081889859901518074927458331 471371441210092359788123968142812184305707186212696807660766600741796518517104183152211929905651609000124162460704934537682346850821676420697715568000994776507284982399312165110415264434169198821448611078785597205543392112344186259905591693732028121484809243503997223530895166900899213546766802358427495144992159311664158081816648249141071851532971182368592456215209414841065235518915403860889415051777874643527817110139655971122121806212303727100296782579742403581121715528632759741168069545561048331423104543944511308042236669471311252886712411298032197945013916353275181493902383547742078129646926216929338771527872135181672385018062766411066939581725372671485128032729861562129681395823417953712767461161853730178163434460714815420951789082527183588465331919216517216353902160869769338762960187268107218298145639185761931872254452431701385032480574265320834696431521953928583821728091326113415108194198499266029217555515249571285364129793001620924106492346668264466121866747064164013155437021333 7153310348111770904127537067114468902677729750735081889859901518074927458331 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
How do you guys limit rand() results to a range?
Top