>>410
> srand(time(NULL));
これも細かく厳密に言えば、time()が返す値は time_t 型。
srand() に与える引数は unsigned int 型。
今、BCCのtime.hの中身を見てみたら
typedef long time_t;
と定義されていた。符号ありのlong型。
っつーわけで、こまきゃ〜こと言ったがや、srand( (unsigned int)time(NULL) );
ってキャストしておくのが適切だぎゃや。

ちゃんこうまでに
ttp://www.bohyoh.com/CandCPP/C/Library/time.html
ttp://www.bohyoh.com/CandCPP/C/Library/srand.html