I hardly think 7stud took the "STFW" or "RTFM" approach, nor did he reply with a "Behold the power of google" response. He simply broke down a piece of logic, explained what happens with an uninitialized variable, and encouraged him to review his textbook.
Giving away answers regardless how simple it is, robs them of a learning experience and stunts development in troubleshooting skills. It also gives away free answers to the next Joe C++ Student that happens along with the same question.
Is it the responsibility of the student to learn and apply themselves? You betcha. But given what I would assume is the purpose of these forums, it's the responsibility of its users to also teach.