问题描述
在c ++中,使程序随机选择一个数字的代码是什么?
In c++ what is the code to make teh program randomly select a number?
推荐答案
通常我们使用C库中''rand''函数的帮助。
V
-
请在通过电子邮件回复时删除资金''A'
我没有回复最热门的回复,请不要'请问
Usually we employ the help of ''rand'' function from the C library.
V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask
通常我们使用C库中''rand''函数的帮助。
V
-
请在通过电子邮件回复时删除资金''A'
我没有回复最热门的回复,请不要'请问
Usually we employ the help of ''rand'' function from the C library.
V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask
请输入一整行代码
Can you please type out a full line of code
通常我们使用C库中''rand''函数的帮助。
V
-
请删除资本''A'在回复电子邮件时
我没有回复最热门的回复,请不要问
Usually we employ the help of ''rand'' function from the C library.
V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask
可以你请输入一整行代码
Can you please type out a full line of code
请努力学习这门语言,以便在你打电话给
简单函数时已经得名。任何人都会认为
Google费用
Please make the effort to learn the language well enough to call a
simple function when you have been given its name. Anybody would think
that Google cost
这篇关于随机数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!