I want to write a help function which calls a class method:
foo.h
class cls{
public:
void fun();
void fun1();
};
foo.cpp
void cls::fun(){
helperFun();
}
void helperFun(){
fun1();//how to call fun1() here?
}
How should I do it, or what's the best way of doing it?