Saturday, March 3, 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

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...