Can anybody help me with permutation in c++. say if the entered string is "stop" then there must be 24 (=4*3*2*1) different words made by the letters s,t,o,p. Similarly if the entered string is "abcde" then there will be 120 (=5*4*3*2*1) different words made using the letters a,b,c,d,e.
Please Help. It`s eating up my head.
varunrathi 0 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
varunrathi 0 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
varunrathi 0 Light Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Asif_NSU 25 Posting Whiz
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
varunrathi 0 Light Poster
varunrathi 0 Light Poster
varunrathi 0 Light Poster
anjaly grace -7 Newbie Poster
minas1 1 Junior Poster in Training
iamthwee
haroonjamia -7 Newbie Poster
haroonjamia -7 Newbie Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
haroonjamia -7 Newbie Poster
Wader Astra 0 Newbie Poster
richieking 44 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.