- or download this
for (int i=0; i < SomeValue; i++)
{
...
p = (Class_p)* some_param;
SomeID = p->getID;
- or download this
class SystemCase{
public:
...
public:
SomeArrayType runMethod(){ ... }
};
- or download this
for (int i=0; i < SomeValue; i++)
{
...
SystemCase sc = SystemCase::getInstance(p);
SomeArray[i].value = sc.runMethod();
}