static class isn't a thing in C++. What are you trying to organize into a class? If it's just a function, why not just leave it as a function? Did you learn C# or Java before this? (sorry for all the questions at once)
Edit: Judging by your title, you're trying to make (pseudo) random number generator, what functionality do you want that rand() doesn't provide?