I know this has probably been asked many times, but here we go again anyway:

I have a function i created that takes in two variables, prints stuff out, then returns another integer:

int printit(int* days, int first)
{
....
return 0;
}

and i was wondering if i could make my own .h file, so that i could use the function without having to write it out for each source.

i.e. up the top of some code have:
#include <iostream.h>
#include <myownh.h>

Also, can i have a constant array defined as well??
If so, could someone post some example code?? Thankyou!