Hi, I have a file with functions to create arrays and handle array operations, and in my program I need to be able to create arrays of int or float. How can I use the same file for creating and working with various array types?
In "iarray.h", I put the definitions for int arrays type:#include
And I include "iarray.h" in the src file that needs int arrays. But if I need to include "float.h" as well (in the same src file), it won't work this approach.
I will much appreciate any help.
Thanks in advance!