#include <cstdlib> using namespace std; int main() { printf("%d",rand()); system("pause"); return 0; }
rand随机函数
原文:http://www.cnblogs.com/YXY-1211/p/7497186.html