0

Hey i can have general syntax for rand() function and anything else related to picking random numbers

I would like it if it had examples. I am noob so simple ones like adding or something will do. If u can also explain factorial and recurscioon. The function that calls itself. I am completely lost studying these. Plz. Tkz

27th Nov 2017, 2:02 PM
Gplayer
Gplayer - avatar
5 Answers
+ 1
Put using namespace std; and remove all the prefixes. The generator method is more up to date but you'll often find the old first method.
27th Nov 2017, 4:19 PM
Timon Paßlick
+ 1
Thanks 🙏 bros.
27th Nov 2017, 4:19 PM
Gplayer
Gplayer - avatar
0
Hey I put using namespace then can I know how use this without the std:: in every line?Is the generator thing an alternative? I understood the first part thanks bro.
27th Nov 2017, 3:57 PM
Gplayer
Gplayer - avatar