Term defination

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandhya madipeddi
    New Member
    • Oct 2006
    • 1

    Term defination

    What is the term used to define ## in c programming?
  • dtimes6
    New Member
    • Oct 2006
    • 73

    #2
    #define MAX_MODE_##A MODE
    MODE is now MAX_NODE_A

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      Originally posted by dtimes6
      #define MAX_MODE_##A MODE
      MODE is now MAX_NODE_A
      You have that the wrong way round

      #define MODE MAX_MODE_##A

      ## is the concatination operator for use in #defines, your post suggests that to you it has some other meaning in a different language, if so you better tell us that meaning so we can tell you how to achieve the same thing in C

      Comment

      Working...