d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > C++ Assignment Help > Possibly Fg Offered.
Add Reply New Topic New Poll
Member
Posts: 2,081
Joined: Jan 13 2007
Gold: 515.76
Oct 21 2013 09:03pm
implement a function that takes as input a set of strings and produce the set of
all permutations of the set

No using the algorithm> library header/functions

program should read the set of strings from standard in and print the resulting set of
permutations should to standard output.
possibly use recursion
assume that the input file has one string per line

let me know if you are able to do this
pm/post for more info
much appreciated :)
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Oct 21 2013 09:05pm
this is a very common school question. you say you need help but didn't post any code, so i'm guessing you want someone else to write the code. did you consider googling?

http://en.cppreference.com/w/cpp/algorithm/next_permutation
Member
Posts: 2,081
Joined: Jan 13 2007
Gold: 515.76
Oct 21 2013 09:24pm
thanks for the response, but as I said we can not use that function/library

and basically a walkthrough of exactly how to solve it/algorithm would be nice
or just the code works too
thanks
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Oct 21 2013 09:34pm
Quote (mcfighter @ Oct 21 2013 07:24pm)
thanks for the response, but as I said we can not use that function/library

and basically a walkthrough of exactly how to solve it/algorithm would be nice
or just the code works too
thanks


http://lmgtfy.com/?q=c+permutations

This post was edited by SelfTaught on Oct 21 2013 09:35pm
Member
Posts: 2,081
Joined: Jan 13 2007
Gold: 515.76
Oct 21 2013 09:36pm
Quote (SelfTaught @ Oct 22 2013 03:34am)


thanks but its actually in c++ :)
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Oct 21 2013 09:39pm
Quote (mcfighter @ Oct 21 2013 07:36pm)
thanks but its actually in c++ :)


Either way. You'll find something that should help you understand the logic. Most people won't spoon feed you code here, unless you put forth some effort yourself.
Member
Posts: 2,081
Joined: Jan 13 2007
Gold: 515.76
Oct 21 2013 09:42pm
Quote (SelfTaught @ Oct 22 2013 03:39am)
Either way. You'll find something that should help you understand the logic. Most people won't spoon feed you code here, unless you put forth some effort yourself.


I know, but googling it was the first thing I did, thanks :)
Member
Posts: 1,358
Joined: Dec 30 2012
Gold: 0.10
Oct 21 2013 09:43pm
Quote (mcfighter @ Oct 21 2013 07:42pm)
I know, but googling it was the first thing I did, thanks :)


Sure thing kiddo. How much eff gees are you offering for this?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Oct 21 2013 09:57pm
Quote (mcfighter @ Oct 21 2013 11:24pm)
thanks for the response, but as I said we can not use that function/library

and basically a walkthrough of exactly how to solve it/algorithm would be nice
or just the code works too
thanks


did you even read the link i posted? it includes the implementation
Member
Posts: 2,081
Joined: Jan 13 2007
Gold: 515.76
Oct 21 2013 10:04pm
Quote (SelfTaught @ Oct 22 2013 03:43am)
Sure thing kiddo. How much eff gees are you offering for this?


none anymore i got it thanks.



yes i did thanks for all the help
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll