|
|
|
|
|
by telemachos
5002 days ago
|
|
> ꙮ I always use enum instead of #define for numeric constants. I'm new to C (and very much a self-taught amateur), but what's the advantage of this? (No snark - I just don't see it.) I have a file at hand with this: #define MAXLINE 512
How would that be improved by putting it in an enum instead? |
|