74Fermer76
geogeoLe 27/11/2007 à 18:11
http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/cpp/Stringification.html wink

#include <stdio.h>
#include <stdlib.h>

#define NUMBER 3
#define xstr(s) str(s)
#define str(s) #s

int main(int argc, char *argv[])
{
printf(xstr(NUMBER)"\n");
system("PAUSE");
return 0;
}