Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
array bounds must be constant
#10
Code:
#define MyFunc(x, y)  \
    PRINT x * y + 1; \
    PRINT " is the result"

MyFunc(3, 2)
I was testing and I can not compile macros with parameters. Sad
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)