I need general details on how to set-up my function in a header file so that it could be called from anybodys program just by '# include <myheader.h>.
Function name: myfunction(char cookie)
cookie = myfunction(char cookie);
I'm fairly new to setting up header file to include my own function and I would appreciate some detailed informaton on how to go about setting it up.
I'm using c++ compiler and I can't see any help file associated with header or library files.
Any help would be appreciated.
Thanks in advance,