Someone answered my question with enough detail so I could forge a full solution. I want to reward him with best answer, but I also want to display the full solution (source code) and add explanation as to how and why it works. I don't want the next guy along to have to recreate the work I did.
But how do I do that? If I answer my own question with the full solution, then that is what someone visiting should look at first. The only way I know to mark the solution I like best is to give it the best answer check (which I would have to put on my own answer). How do I reward the guy that helped me get there. Just a simple up-vote on his answer?
In general, what is the best way for the author of a question to post a "full solution"?