+ 1

Another C++ Question

Can We Nest Multiple rand() Or srand() Function?,Because I'm Planning To Make A Clock,That Outputs The Hour,Minute,And Seconds(That Is Random),But I Don't Think You Can Nest This Multiple Times,So Can You Guys Help Me Answer This Question?

15th Dec 2021, 12:53 AM
Lidya Reine
Lidya Reine - avatar
4 Antworten
+ 3
Lidya Reine srand() and rand() may be called as much as you like. Can you give an example of what you mean by "Nest"?
15th Dec 2021, 1:17 AM
Brian
Brian - avatar
+ 1
I Get It Now,Thanks :)
15th Dec 2021, 1:24 AM
Lidya Reine
Lidya Reine - avatar
0
Oh Sorry,I Thought "Nest" Means Putting,What Does Nesting Actually Means?
15th Dec 2021, 1:18 AM
Lidya Reine
Lidya Reine - avatar
0
Cause I Actually Means Put(Like Putting Multiple rand Function)
15th Dec 2021, 1:19 AM
Lidya Reine
Lidya Reine - avatar