Click Here to Login
Join Computer forums Today

View Single Post
Old 02-24-2006, 06:23 AM   #3
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,101
Default Re: Randomize in C++ Or VB

BV has a randomise function for generating random numbers within limits...

so yes...
find out how many file are in the folder..
generate a random number (e.g five) and return that file (e.g the five filename).
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

All times are GMT -5. The time now is 04:13 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.