Re: pre-processor string replacement
- From: sam_cit@xxxxxxxxxxx
- Date: 14 Jan 2007 00:10:18 -0800
What did you expect to see?
#define status "23"
#define status "44"
--
Ian Collins.
i expect first statement to replace status of second statement with
23, so it would be
#define "23" "43"...
which isn't the case, so i though string replacement never happens in
pre-processor statement, however the second example i pointed proves
that understanding is not correct.
.
- Follow-Ups:
- Re: pre-processor string replacement
- From: Thad Smith
- Re: pre-processor string replacement
- From: Mark McIntyre
- 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
- pre-processor string replacement
- Prev by Date: Re: Best Place to Define TRUE/FALSE
- Next by Date: regarding free
- Previous by thread: Re: pre-processor string replacement
- Next by thread: Re: pre-processor string replacement
- Index(es):
Relevant Pages
|