
大家可以看到,都是相同的了
uj5u.com熱心網友回復:
#include <iostream.h>#include <stdlib.h>
#include <stdio.h>
#include <time.h>
CHAR ranbom()//取隨機字母和數
{
char c;
// c= 'F';
srand((int)rand());
c=(char)('0'+rand()%('z'-'0'));
KdPrint(("亂數 %c",c));
return c;
}
uj5u.com熱心網友回復:
srand((int)time(NULL));轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/77374.html
標籤:基礎類
