PickVids

rand() Considered Harmful

Why it was recommended

recommended by Stephan T. Lavavej, maintainer of Visual Studio's C++ Standard Library, in his "rand() Considered Harmful" talk

Referenceslavik81 · Original

What it covers

Stephan T. Lavavej's GoingNative 2013 talk explaining why calling rand() and using rand() % 100 is bad in C++, and how the C++11 <random> header does the job properly. It is for someone who already knows the basic terms and wants the next step.

Video details

Channel
aghuttun
Length
31 min 28 sec
Year
2013
Open on YouTube

More in this topic

Hear about newly added videos?

Optional. We store this email and nothing else. It does not create an account.