Right, easy to change. That takes an edit of 2 variables, where as if I replaced every instance of X with the number 10 in my source code, that would not be "easy" to change. (I'd have to go hunting to figure out everywhere it's supposed to be changed.) Poor wording on my part.Quote:
Originally Posted by major_small
Actually though, the reason I didn't use integers instead of defines, is because even in C99 if I do, it won't compile without warnings.