Hehe, that's exactly how rand() is supposed to work, it's not fubared.
fromrand - C++ Reference
This number is generated by an algorithm that returns a sequence of apparently non-related numbers each time it is called. This algorithm uses a seed to generate the series, which should be...