Quote:
Originally Posted by Ricop522
Is this right?
#define SUM(%0, %1) ? (%0 + %1);
@topic
Cool tutorial, I like =p
|
Thanks, and like RyDeR reposted, you cannot have the space between the comma after %0 and %1, because like a define that space will seperate the search term with the data it should replace the search term with. ? should just not be there. That would be the same as writing the following define.
Код:
#define MAX HOUSES ? 500;
it just wouldn't work out, and thanks, i saw ******' topic on the pre processor and thought that macros should get their "thread".