How do I use something called as randomize function?
There is no randomize function C++. Here, you can use srand() and rand() functions. See this link:
*www.cplusplus.com/reference/clibrary/cstdlib/rand.html
^^+1
Yep, Randomize is only used in VB, VBA and VBS, to initialize Rnd's seed value.