This is my first post, so if I\'m being too vague or giving information that everyone would intuitively assume, please let me know.
I\'m very new to writing in
To stringify a #define
you need to use a two-step approach:
#define _STRINGIFY(s) #s
#define STRINGIFY(s) _STRINGIFY(s)
...
#define SEED 123
...
const char * pszSeed = STRINGIFY(SEED); /* 'pszSeed' would point to "123" form here on. */
If you only want to use one character simply access it via *pszSeed
or pszSeed[0]
.