31.10.2009, 14:21
Because you are trying to display a number as a string.
When you #define something as a number, then that's what it is when you use the definition. It's a number, so you're trying to format an integer as a string.
The #define is basically pasting that same bit of code (numbers or strings) wherever you put the definition.
When you #define something as a number, then that's what it is when you use the definition. It's a number, so you're trying to format an integer as a string.
The #define is basically pasting that same bit of code (numbers or strings) wherever you put the definition.