Saturday, 3 March 2018

c - Double pointer to function

I need to create this function:




void lpLoadFileFunc(int (*loadFile)(char *filename, FILE **file))


To do this I must first create this function:



int loadFile (char *filename, FILE **file))


This function should upload a file and return if the load was successful.




But I fail to understand why using double pointer.



Can you help?

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...