Re: Need Help Creating include files.
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Feb 25, 2005
- 581 views
Martin Berger wrote: > > Matt > > Let me see if I understand, Any function or type I put in an include file > has to be declared as a global? Only if you want to allow code from other files to be able to use it. I know, it sounds like you'll want to make everything global, but as you write more complex include files, there will inevitably be plenty of stuff that you don't want to be global. In general, it's a good idea to keep as much local as possible, especially variables. Matt Lewis