I'm not the best with defining macros that concatenate things....
What exactly is that supposed to do?Code:#define MAC(x) #x
...Or that?Code:#define MAC(string,id) string##id
And...aren't there rules about white space, new lines, commas, semi-colons, etc. when defining macros? Could somoene explain these a little? Isn't it that you never use semi-colons, comments, or double-quotes?
Something like...
Would be correct?Code:#define printf string=Hello, printf