Guest_imported
New member
- Jan 1, 1970
- 0
I AM A PROGRAMMER OF SATYAM,
MY NAME IS K.SUBBARAO
MY QUESTION IS
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 getting:
1.user giving name of the funtion which is accepted into a string
buffer,how can you call that function when you know the name of
the function when it running.
2.only using c language.
MY NAME IS K.SUBBARAO
MY QUESTION IS
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 getting:
1.user giving name of the funtion which is accepted into a string
buffer,how can you call that function when you know the name of
the function when it running.
2.only using c language.