http://www.fefe.de/minit/
http://www-106.ibm.com/developerworks/l ... BootFaster
好像有種parallel init..
不知道這樣子有沒有用
Search found 7 matches
- Wed Dec 01, 2004 4:01 pm
- Forum: 談天說地
- Topic: 破解遊戲: 逃離房間
- Replies: 2
- Views: 6184
- Sat Jun 12, 2004 5:04 pm
- Forum: 談天說地
- Topic: 一篇debian與gentoo比較的文章
- Replies: 9
- Views: 12186
- Thu Jun 03, 2004 1:30 pm
- Forum: 談天說地
- Topic: Motorola 不給原始碼...
- Replies: 19
- Views: 20030
- Mon Mar 29, 2004 1:29 pm
- Forum:
- Topic: 更新完Kernel 2.6.4的問題...modules都不能載入
- Replies: 3
- Views: 3416
- Tue Feb 17, 2004 3:17 pm
- Forum:
- Topic: 玩弄數字 真正安全的軟體需要精確的亂數產??
- Replies: 1
- Views: 2995
無聊的小程式
你好,我寫了一個無聊的小程式
但是我沒有測試過
(要po上來才想到,等等寫看看會不會平均,這樣算ok嗎)
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
unsigned int i;
char * str="123";
char r[1000]; //這邊隨便你改.愛產生幾位數就幾位數
i=(int)str;
srandom(time(0));
int j=random();
for (int k=0;k<100;k++)
{
j*=random();
j%=1000;
r ...
但是我沒有測試過
(要po上來才想到,等等寫看看會不會平均,這樣算ok嗎)
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
unsigned int i;
char * str="123";
char r[1000]; //這邊隨便你改.愛產生幾位數就幾位數
i=(int)str;
srandom(time(0));
int j=random();
for (int k=0;k<100;k++)
{
j*=random();
j%=1000;
r ...
- Thu Jan 15, 2004 11:15 pm
- Forum: 桌面、多媒體精華區
- Topic: 我的xcin會越跑越高
- Replies: 11
- Views: 24480