As my first post in the CProgramming forum i wanted to start off by saying hello and thanks in advance for any help I will receive.

I am having trouble using header files. I am making a game, sort of like pac man, and I wanted to know how to make and use header files better. I have looked at several tutorials online but I cant seem to find anything that helps enough!!

I basically wanted a little guideline on how to make header files so that I can have most of my algorithms for the game in there. Basically so I can keep my OpenGL code different to my code for controlling the game, e.g. functions I have for AI. I can post my code if it would help and any other advice is welcome.

Thanks again!!