question about code comment
- From: "Ethan Meyers" <ethanori@xxxxxxxxx>
- Date: 5 Nov 2005 01:49:29 -0800
Hi everyone,
I want to handle the "/* */" style comment in a file, for example,
there are two programs in a file:
int main()
{int x;return 0;}
int main()
{int y;return 0;}
How to use other preprocess to comment out one of the main() rather
than using "/* */"?
If there are more code segments, is your solution still applicable?
--
ethan
.
- Follow-Ups:
- Re: question about code comment
- From: Emmanuel Delahaye
- Re: question about code comment
- From: Ulrich Eckhardt
- Re: question about code comment
- From: Robert Harris
- Re: question about code comment
- Prev by Date: Re: Strings in C are less optimal than in (say) Pascal - correct?
- Next by Date: Re: question about code comment
- Previous by thread: stop output from apperaring from stdout and stderr
- Next by thread: Re: question about code comment
- Index(es):
Relevant Pages
|