strings & function addresses

John Gordon gordon at osiris.cso.uiuc.edu
Sat Oct 20 06:10:32 AEST 1990


	You could have an array of structs, with a function pointer and a 
char string.  The string is the name of the function, and the pointer is the
address of that function.  Read in the string, compare it to the structs, and
execute the corresponding function pointer.



More information about the Comp.lang.c mailing list