Code_nst = "1234567890" Recode_nst = RoundStr(Code_nst,8) Function RoundStr(str,Num) s = "" for i = 1 to Num Randomize strLen = Len(str) t = Round((Rnd * (strLen-1))+1) s = s & mid(str,t,1) Next RoundStr = s End Function
// 设定随机数发生公式的种子值 srand( (unsigned)time( NULL ) ); // 获得0-9随机数 int i = rand() % 10;//随机字母小写char ch = rand()%26+97;//随机字母大写char ch = rand()%26+65;//////////////////////////////一位一位随机生成
你好!她瞟了一眼睡着的孩子随即匆匆离开了She glanced at the sleeping child and hurried away.
318 浏览 7 回答
149 浏览 4 回答
232 浏览 8 回答
84 浏览 6 回答
138 浏览 8 回答
199 浏览 4 回答
237 浏览 2 回答
94 浏览 3 回答
286 浏览 5 回答
318 浏览
175 浏览
121 浏览
314 浏览
216 浏览