Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP!!!!!!!

Status
Not open for further replies.

subbaraok

Programmer
Sep 28, 2001
2
US
I have 100 functions with different names.I will have to call from main function by accepting the name of the function from the user.
for example user entered 'add' ,then it will call add function which
is immediately below the main funtion.For that i am using 100
comparission statements.Is there any other alternative so that
we can call the corresponding function without using comparision.

problems i am facing:

1.user giving name of the funtion which is accepted into a string buffer,
how can i call that function when i know the name of the function when it running.
2.only using c language.
 
Hi, the same question... is there in the thread205-141214, suggestions too.

Take a visit at the above thread.

Maniraja S
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top