Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

關於vc6++的亂數

0 views
Skip to first unread message

凸一顆

unread,
Sep 7, 2002, 3:33:44 AM9/7/02
to
請問vc6++有亂數的函數嗎
如果沒有
那大家可以說明其他方法嗎
謝謝

--
╭┬╮
[m│ [41m┴ [m│╭─﹏﹏────────────── [1;35mWeb bbs http://bbs.ice.cycu.edu.tw
[m└┬┘│ [33;1m中原資工神秘之旅 [36;1mPost by [1;32mswatches [m│
[m ╰﹏╯ [1;32m From:sw59-166-40.adsl.seed.net.tw [m╰﹏﹏﹏ [1;36mbbs.ice.cycu.edu.tw [m﹏﹏ [1;34mΩ [m

微疲勞狀態...

unread,
Sep 11, 2002, 12:32:54 PM9/11/02
to
#include<ctime>

xxx()
{
srand(time(0));
cout<<rand();
}
is this??


※ 引述《swatch...@bbs.ice.cycu.edu.tw (凸一顆)》之銘言:


> 請問vc6++有亂數的函數嗎
> 如果沒有
> 那大家可以說明其他方法嗎
> 謝謝
--

[1;32m※ Origin: [33m元智大學 風之塔 [37m<bbs.yzu.edu.tw> [m
[1;32m※ From : [36m61-223-241-60.hinet-ip.hinet.net [m

0 new messages