Thread
:
Global variable question
View Single Post
#
1
27-01-2008, 15:03
Nathan
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Global variable question
If I create a global variable in one .c file, can I access this variable from another .c file?
I thought so, but I get the error "symbol 'varname' has not been defined."
Thanks,
Nathan
__________________
Save money with
PriceWombat
, a shopping comparison and price tracking tool (that I made!).
Check out my
hobby electronics business
!
My former robotics team:
Huntington County 4-H Robotics
Nathan
View Public Profile
Visit Nathan's homepage!
Find all posts by Nathan
Find CD-Media Photos by Nathan
Find CD-Media Papers by Nathan