Passing arguments to Loop()


After having created my Class with MakeClass, I want to be able to pass arguments to the Loop() function - I am trying to redefined first in the .h


and then in the .C something like

void analyzer::Loop(int argc, char * argv[]) {..}

but this fails to run - So, is there a way to pass arguments to the Loop function ?



You also need to modify / add the “void Loop(int argc, char * argv[]);” method in / to your “analyzer” class in the “analyzer.h” file.

BTW. I guess you really want something like “void Loop(int *argc, char * argv[]);”