What I need here is a function that will return a collection of domino pieces that has the most pieces that go together. There are 2 values to be concerned about. The currentfirst and secondnumber. The function has been started. It just needs to be completed. Commented has more information about it and an example of what should be returned in one situation. Must modify the enclosed dll instead of redoing it from scratch. Let me know if you have questions. What determines whether it goes together is there is a number that is sent in. That has to be the first one (firstnum). The values of currentfirstnum and currentsecond one can be changed. For example if the number returned is 2, then the first one has to have 2 as the currentfirstnumber. If the domino first is 2, 6; then the next domino must have 6 as firstnum; etc.
The complete source code and the compiled dll to return the longest list of dominos that go together.
Windows 2000, Windows XP