>i need to know how to generate random integers in c++
Hmm, judging by how common this question is and how readily available the answer is, I would say that you haven't even *tried* to find an answer before coming here.
One of the things that you have to understand is that here, no one gives you the answer. You have to put forth some kind of effort; you have to show that you are at least trying to come up with something. It was frustrating for me at first, but from a good talking to from someone in this group (thank you, whoever you may be), I've learned that it's not good to try and take the easy way out. You'd never learn that way. It's best when you learn how to achieve things on your own.
However, I can recomend to you some great C++ tutorial programming sites.
**how to solve invalid keystore error in android studio here is error report----------------------->
here is error report--------> error:Error:java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key palash from store "D:\MyApplication3.idea\workspace.xml": Invalid keystore format ...