F&A Diskussionen
Change number in srand(time(0))
0 Stimmen
1 AntwortWhat is this srand (time(0))
2 Stimmen
2 Antworten
so although using srand(time(0)) can be used to get truly random numbers, how truly random are they? For example, if one were to call this method at the same time (in this example, if one were to use this command at 51s) each time would the numbers generated be the same???
If so, are the numbers still truly random??
And if this theory is true, how can one generate truly random numbers that cannot repeat based on external variables (e.g., time)?
2 Stimmen
4 AntwortenHeute heiß
Can i code here? Or just learn?
2 Votes
Why Lazy?
1 Votes
Quiz App: Step 3, Restart Button
0 Votes
Catch the ball
0 Votes
Running a python code
1 Votes
Web development
0 Votes
PHP
0 Votes
How to do a responsive page?
1 Votes