| | |
Question About Random?
![]() |
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 0
0
#4 26 Days Ago
"srand()/rand()" isn't exactly the most sophisticated random number generator in the world, but it *should* work for your purposes.
2
#5 26 Days Ago
>I would lookup random or srandom...for pseudo random functions in C
Neither of which are standard functions, meaning unless the OP has the same compiler you do, the chances of your suggestion working are somewhat slim. srand and rand are the standard functions for seeding and generating random numbers.
Neither of which are standard functions, meaning unless the OP has the same compiler you do, the chances of your suggestion working are somewhat slim. srand and rand are the standard functions for seeding and generating random numbers.
I'm here to prove you wrong.
![]() |
Similar Threads
- [question] random number generator (C++)
- Forms in Random access files (Visual Basic 4 / 5 / 6)
- Question about Random Number Generators (C++)
- get a random word (C++)
Other Threads in the C Forum
- Previous Thread: please help in following data structure programs
- Next Thread: Bowling program (wrong scores)
| Thread Tools | Search this Thread |
* ansi api array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copypdffile creafecopyofanytypeoffileinc createcopyoffile createprocess() database dynamic execv fflush fgets file floatingpointvalidation fork forloop frequency function getlogicaldrivestrin givemetehcodez grade graphics gtkwinlinux histogram homework i/o ide inches include infiniteloop initialization input interest intmain() iso keyboard km license linked linkedlist linux list looping loopinsideloop. lowest matrix microsoft mysql oddnumber open opendocumentformat openwebfoundation pdf pointer pointers posix power program programming pyramidusingturboccodes radix read recursion recv recvblocked reversing scanf scheduling segmentationfault send sequential shape single socketprogramming stack standard strchr string suggestions test threads turboc unix urboc user variable whythiscodecausesegmentationfault win32api windowsapi






