随机函数
摘要:
#include using namespace std; int main() { srand((unsigned)time(NULL)); //产生的随机数范围是0~65536, for(int i = 0; i < 10;i++ ) cout << rand() << '\n'; cout << endl; ... 阅读全文
posted @ 2019-04-09 21:40 cltt 阅读(458) 评论(0) 推荐(0)
posted @ 2019-04-09 21:40 cltt 阅读(458) 评论(0) 推荐(0)
posted @ 2019-04-09 15:43 cltt 阅读(97) 评论(0) 推荐(0)
posted @ 2019-04-09 15:31 cltt 阅读(93) 评论(0) 推荐(0)