Random but predictable number generator? [C++]
问题 Well I don't really know how to search for the thing I'm looking for. Google gives tons of results, but none which match my criteria. So I'm asking it here: Is there any known piece of code that can create a number, that is predictable, looks random, and is based on a 'seed' (in my case it's the unix timestamp) and between a specified range? I want to be able to create weather forecast in a script for a game I'm coding (but I need the C++ code which I can port, I don't think many people here