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.