![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
global variables [solved]
OK usually I don't use global variables, but this time I have to. Why is it that when declaring global variables in a file, they are not accessible in a different source file?
EDIT: NVM I found the answer somewhere else. I have to use "extern" in the other modules. Last edited by uman; Feb 20th, 2005 at 5:06 PM. Reason: found answer |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|