Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcjęDyskusje Q&A
Efficiency Question
1 Głos
3 odpowiedzi
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 głosów
4 odpowiedzi"time is not defined"?
2 głosów
1 OdpowiedźDevelop an App
3 głosów
2 odpowiedziPopularne dzisiaj
Calculator
1 Votes
Solution
0 Votes
C? C++? C#? Horses for courses?
0 Votes
help pls
1 Votes
How to make animation
0 Votes
heart issues
1 Votes
Sololearn logo
0 Votes