#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
  • "can any one give me the meaning of following line"

    Other than the author or provider of the software, no.

    "or simply just value."

    As far as the snippet you've provided goes, they are just values. How they might subsequently be used (or abused) elsewhere is completely impossible to tell!

    Today's lesson is: always fully comment all definitions!

    The comments should answer your questions!

Reply
  • "can any one give me the meaning of following line"

    Other than the author or provider of the software, no.

    "or simply just value."

    As far as the snippet you've provided goes, they are just values. How they might subsequently be used (or abused) elsewhere is completely impossible to tell!

    Today's lesson is: always fully comment all definitions!

    The comments should answer your questions!

Children
More questions in this forum