| | |
Question About Random?
![]() |
•
•
Join Date: Nov 2009
Posts: 1
Reputation:
Solved Threads: 0
0
#4 Nov 4th, 2009
"srand()/rand()" isn't exactly the most sophisticated random number generator in the world, but it *should* work for your purposes.
2
#5 Nov 4th, 2009
>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.
In case you were wondering, yes, I do hate you.
![]() |
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)
Views: 365 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C
api arguments array arrays binary binarysearch c++ char character code coke command conversion convert copy copyimagefile creafecopyofanytypeoffileinc database decimal directory dude dynamic ebook error evaluation exec factorial fgets file files fork function functions givemetehcodez grade graphics homework i/o input insert int integer lazy leak leet_speak libcurl line linked linkedlist linux list lists logical_drives loop loops malloc matrix memory mysql no-effort opensource output path pause pointer pointers problem process program programming questions read recursion recursive recv refresh reverse roman2decimal scanf scripting socketprograming spoonfeeding sql string strings strtok structures student studio suggestions system turbo turbo-c turboc unix user variable webpage why-not-to-use-turbo windows






