Hi, there is a question in my textbook:
#include "stdio.h"
#define GENERIC_MAX(type) \
type type##_max(type x,type y) \
{ \
return x>y?x:y; \
}
typedef unsigned long ULONG;
GENERIC_MAX(ULONG)
int main(void)
{
printf("%ld\n",ULONG_max(2,4));
return 0;
}
I want to view the expanded macro definition code of "GENERIC_MAX(ULONG)", how to do about it using codeblocks?
Best regards.
P.S. My codeblocks is codeblocks-17.12mingw-setup.exe