R
rbfish
Hi,
How can I call a virtual base function with variable parameters? like,
class base
{
public:
int printf(const char *fmt, ...)
{
// do anything here.
}
};
class derived : public base
{
public:
int printf(const char *fmt, ...)
{
// do something here.
...
// then call base function
return base:rintf(fmt, XXX); // WHAT CAN I WRITE HERE?
}
};
Thanks in advance,
rbfish
How can I call a virtual base function with variable parameters? like,
class base
{
public:
int printf(const char *fmt, ...)
{
// do anything here.
}
};
class derived : public base
{
public:
int printf(const char *fmt, ...)
{
// do something here.
...
// then call base function
return base:rintf(fmt, XXX); // WHAT CAN I WRITE HERE?
}
};
Thanks in advance,
rbfish