with closing the thread. The "solution" you reach could be wrong, like in a recent thread where the "solution was malloc'ing a single-char buffer for string input. If he had closed that thread, that would never have been corrected.
Closing threads is for when the conversation becomes abusive or unconstructive. Do not close just because you have an answer - a better answer or further insight may come along! Also do not quote entire responses in your own unnecessarily.