ndk 开发笔记

来源:互联网 发布:心电图模拟软件 编辑:程序博客网 时间:2024/05/16 08:29

关于随机数:

 

#include <stdlib.h>
#include <stdio.h>
#include <time.h>

srand((unsigned int)time(NULL)); //生成种子, 貌似要用guid
 int key = rand();