I am attempting to make a fast password generator using multithreading with OpenMP integrated into Visual Studio 2010.
Let\'s say I have this basic string generator tha
To answer your question, and turn @CrazyCasta's comment into an answer:
Yes, you are using the wrong tool for the wrong job
rand
isn't parallelisable as you want it to be, and since generating a password of any reasonable length is very fast already it's difficult to see why you would bother.
However, the topic of parallel pseudo-random number generators is an interesting one and there is a lot of published work on them, even some questions and good answers here on SO. I suggest you direct your attention to some more learning and return to your programming when you know some more about them.