i want to declare a bit flag in the header file which i have used
in several C files.
for ex: i have declared a flags like......
These flags are used in 2-3 more C files.for that i am getting a
*** ERROR L104: MULTIPLE PUBLIC DEFINITIONS SYMBOL: BUFERFLG
can u please tell me how can i declare these type of multiple
Ever heard about the "extern" keyword?
If not, I think it's time to look for a good book on C
programming, since the difference between definitions and
declarations are vital knowledge. There is probably also a lot of
other things you could learn by spending a bit of time studying the
language and how to use it.
and links therein.
You need to study the standard language first, and
understand the standard stuff.
Once you understand the standard stuff, you then need to
study the Keil C51 Manuals to understand their particular
non-standard proprietary stuff:
View all questions in Keil forum