M
mandatory
Hi,
I have a class:
class Aclass
{
void Hello();
}
AClass::Hello()
{
printf ("Hello\r\n");
}
How can i make different AClass:Hello() functions - without creating a new
classtype ?
The reason i ask, is i have a list of classes, which all should contain a
pointer to the same classtype - but even though the functions are the same,
the code needs to be different.
I were wondering about something like "Friend" or similar ?
I have a class:
class Aclass
{
void Hello();
}
AClass::Hello()
{
printf ("Hello\r\n");
}
How can i make different AClass:Hello() functions - without creating a new
classtype ?
The reason i ask, is i have a list of classes, which all should contain a
pointer to the same classtype - but even though the functions are the same,
the code needs to be different.
I were wondering about something like "Friend" or similar ?