Tips / Tricks (2) I want to define port as numeric... How about stringify? #define _str(s) #s #define str(s) _str(s) #define PORT 80 Then, str(PORT) will be "80" But... my port is in variable... Do you remember sprintf? :-)