|
-
October 11th, 2002, 08:29 PM
#1
How to create global variables available functions in separate files??
I want to create a header file with a few arrays defined inside it.
Then I want all the C files that I compile to have access to those variables. how the **** do I go about this??
If i include the header in main the other files cant see it. If I include the header in all the files I get xxxxxx already defined in xxxx.obj errors..
It seems so simple yet I can not figure this out!!
Please help
oohh, I got bleeped it wont let me write h e l l
Last edited by delic; October 11th, 2002 at 09:30 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|