Mail Archives: djgpp/1997/06/25/17:25:19
Let me see if I undestood
Define this function
>> typedef int ( *SILVEIRAS_FN )( char array[], int number );
Normal:
>// prototype the functions
>int someFunction( char stuff[], int something );
>int otherFunction( char things[], int elephant );
Main
>void main()
>{
What does it do?
> SILVEIRAS_FN pfnCallback;
>
> ....
>
> pfnCallback = someFunction;
>
> pfnCallback();
>}
'Til here
??
Ok
>
>// define the functions that you prototyped earlier
>
>
>
>Rob Humphris
>
>>
Thanks
Guilherme
- Raw text -