srand信息详情

srand发音

意思翻译

n.随机数发生器的初始化函数

相似词语短语

greater demons osrs───大恶魔OSR

aper srl───aper公司

superiors osrs───上级OSR

disrobe scene───脱衣现场

disruption to───对……的中断

findable items osrs───可查找项目OSR

cl ssr───氯二硫醚

disroot reddit───迪斯罗特·雷迪特

goblin diplomacy osrs───地精外交

disrupted meaning───断章取义

双语使用场景

To understand what srand does, compile Listing 11 with the srand routine commented out.───要了解srand所做的工作,可以在将srand例程注释掉的情况下编译清单11。

To introduce randomness into the code, you use srand, which initializes rand with a seed value.───为了在代码中引入随机性,您可以使用srand,此例程使用种子值来初始化rand。

Typically, srand uses a new seed value to initialize rand (see Listing 10).───通常,srand使用新的种子值来初始化rand(请参见清单10)。

英语使用场景