现在的位置: 首页 > 综合 > 正文

随机数

2013年05月19日 ⁄ 综合 ⁄ 共 41字 ⁄ 字号 评论关闭

srand((unsigned)time(NULL));
  i=rand()%3;

抱歉!评论已关闭.