rand() Considered Harmful
aghuttun
0:00 / 0:00
rand() Considered Harmful
15 486 просмотров · 13 лет назад
aghuttun
4,23 тыс. подписчиков
15 486 просмотров · 13 лет назад
Day 3 - When you need a random number, don't call rand() and especially don't say rand() % 100! This presentation will explain why that's so terrible, and how C++11's 'random' header can make your life so much easier.