This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#define COUNT 2000

can any one give me the meaning of following line

#define COUNT  2000
#define KEY2    0x2F
#define KEY1    0xF8

COUNT,KEY2,KEY1 are the name's given which we going to use next in the prog. but what is 2000,0x2F,0xF8 is address i.e memory location or simply just value.

Parents
  • "its meaning is totally un explanable because it known only by author"

    Absolutely - if the author is thoughtless enough to not provide any documentation (whether in the form of comments ot otherwise).

    As you say this is "sample" code, you need to ask yourself whether your time is going to be better spent trying to understand the "sample", or if you'd be better off just writing it yourself from scratch!

Reply
  • "its meaning is totally un explanable because it known only by author"

    Absolutely - if the author is thoughtless enough to not provide any documentation (whether in the form of comments ot otherwise).

    As you say this is "sample" code, you need to ask yourself whether your time is going to be better spent trying to understand the "sample", or if you'd be better off just writing it yourself from scratch!

Children