随机数

#include<time.h>
srand((unsigned)time(NULL));
a=rand();

原文地址:https://www.cnblogs.com/Cathycat/p/11240376.html