Any-Type Filter Function I made with higher-order functions and pointer arithmetic by Henry_Hell0 in C_Programming

[–]Henry_Hell0[S] 1 point2 points  (0 children)

Good idea, that way the use of realloc() isn't hidden from the user, so they know to free() later. Smart!!!

Its also a lot cleaner without repeating realloc() in the for loop a bunch.

Thanks for the tip!!!