Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~342 People Reached
Favorite Forums
Favorite Tags
c++ x 9
Member Avatar for chaosgeneration

Hey all, I'm currently working on a project that exemplifies matrix multiplication algorithms. My problem isn't working on the algorithms, but more of the structure of the classes. If any of you wouldn't mind looking over my code and helping me get a little more familiar with how things should …

Member Avatar for chaosgeneration
0
125
Member Avatar for chaosgeneration

I have an assignment to show a brute force algorithm on combination and permutations. All I am given is the function headers, and I cannot see the main. I'm having trouble understanding how sets work... Here is my header function for combination [code=c++]set< set<char> > powerSet(set<char S>)[/code] now, I'm not …

Member Avatar for pseudorandom21
0
168
Member Avatar for chaosgeneration

Hello, I'm working on a function that is supposed to impose brute force algorithm on a set of chars. Here is what I have so far [CODE]set<string> permutation(set<char>S) { set<string> fun; string myString; do{ for(set<char>::iterator it=S.begin(); it !=S.end(); ++it){ myString += *it; } fun.insert(myString); }while(next_permutation(S.begin(), S.end())); return fun; }[/CODE] due …

0
49