Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char RandomChar()
- {
- return rand()%26+97;
- }
- void GenerujStringy ( string * pole, int size)
- {
- for (int i=0; i<size; i++)
- {
- pole[i]="";
- int len = (rand()%4)+1;
- for (int j=0; j<len; j++)
- {
- pole[i]+=RandomChar();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement