Re: pre-processor string replacement





I see. In the first example you are redefining status (your compiler
did warn you, didn't it?).

--
Ian Collins.

Yes it did, but my question is had the pre-processor replaced status
with "23" compiler wouldn't have known... why did the pre-processor
choose not to replace status of the second #define with "23"

#define status "23"
#define status "44"

.