|
-
March 7th, 2002, 02:08 PM
#1
A quick question on VTBL
Is there a way where i can call a function in
a class without using the name of the function.
class A
{
public :
int x
void print(){cout<<"Hello";}
};
A *a;
then using this pointer call print function
without using the name. I dont want to use
a->print();
I am in this situation beacuse i have the name of the function in database. using that name and the name of the class i want to call the function.
Please rate the article if it is of any use to you. This encourages me to reply more and more and more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|