Ok, I have this code that takes a word from the user and jumbles it up like this...
But it duplicates letters, how can I stop it form duplicating letters?Code:for(unsigned int m = 0; m != length - 2;m++){ srand(m); text[rand()%length-1] = text[rand()%length]; }