TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Karthik Agarwal
NA
748
266.1k
How to use the string as a function as function call?
Jun 6 2012 6:39 AM
Hi,
I have a string which i will be getting from the input from a user.
But i should take the input what user gives and obviously that is the name of a function in my code. So i should call the function which the user has entered. How can i do this?
Example: Suppose the user has entered a name "interpolation" in the textbox in the form and then he presses enter. Then i should read the name as follws:
String ^ function_call = textbox->Text;
and after this operation i should call the function interpolation which user has entered.
int index = interpolation();//this is what i need this function will return a integer.
Reply
Answers (
3
)
Disable Combination of CTRL, ALT and DELETE keys
How to convert SortedList to some other type of same kind?