次の点を考慮してください。
class A{
//data members
void foo()
{
bar();//is this possible? or should you say this->bar() note that bar is not static
}
void bar()
{
}
}//end of class A
メンバー関数を別の関数から呼び出すにはどうすればよいですか? また、静的関数は「this」の使用にどのように影響しますか。オブジェクトで関数を呼び出す必要がありますか?