Click here to Skip to main content
16,016,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a beginner, and I just know the basic,and now, I got a project, my problem is how to randomize string? I don't know. someone help me.
Posted
Updated 18-Dec-11 2:33am
v2

Sounds like homework. Try finding ideas by searching the net.There are lots of examples: Click[^].

For example: http://stackoverflow.com/questions/440133/how-do-i-create-a-random-alpha-numeric-string-in-c[^]
 
Share this answer
 
Comments
Amir Mahfoozi 18-Dec-11 7:31am    
+5
Wendelius 18-Dec-11 13:01pm    
Thanks :)
You seem to have the solution at your fingertips, writing spurious letters instead of proper words.
 
Share this answer
 
Comments
CPallini 18-Dec-11 12:59pm    
Bad bad Ricky!
Richard MacCutchan 18-Dec-11 13:11pm    
:)
Sergey Alexandrovich Kryukov 18-Dec-11 14:37pm    
Fair enough, my 5.
--SA
Your question may not yield the expected results. Are you sure you want to randomize a given string or is it that you want to generate a string randomly i.e. random permutation or rather random generation?

Regards.

Manfred
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900