lang:c:preprocesseur
Ceci est une ancienne révision du document !
Convertir un nombre en chaîne de caractères
#define STR_HELPER(x) #x #define STR(x) STR_HELPER(x)
Exemple d'utilisation :
#define GCCVERSION STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__)
C Preprocessor_ concatenate int to string - Stack Overflow, Archive
lang/c/preprocesseur.1504957717.txt.gz · Dernière modification : 2017/09/09 13:48 de root