added using namespace std;
changed name of function to findMethodsInClass
moved findClassNames to super class
removed std::
removed all ==0 in conditions
removed constructors and reindented.
removed unnecessary brackets and comments.