Re: pre-processor string replacement
- From: sam_cit@xxxxxxxxxxx
- Date: 14 Jan 2007 00:19:35 -0800
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"
.
- Follow-Ups:
- Re: pre-processor string replacement
- From: Ian Collins
- Re: pre-processor string replacement
- References:
- pre-processor string replacement
- From: sam_cit
- Re: pre-processor string replacement
- From: Ian Collins
- Re: pre-processor string replacement
- From: sam_cit
- Re: pre-processor string replacement
- From: Ian Collins
- pre-processor string replacement
- Prev by Date: Re: Multiple Inclusion of Standard Header Files
- Next by Date: Re: regarding free
- Previous by thread: Re: pre-processor string replacement
- Next by thread: Re: pre-processor string replacement
- Index(es):