We don't bite newbies here... much | |
PerlMonks |
Re^2: how do I print content of a cpp file without cpp comments?by jarich (Curate) |
on Sep 19, 2006 at 13:45 UTC ( [id://573719]=note: print w/replies, xml ) | Need Help?? |
I came to C++ from a C background, and thus I often wrote code as follows:
Which is to point out that your current example has a subtle bug wherein it appears you'll drop all of the text in my example, rather than just the 3 lines of comments. Still, I'm sure jsmith can work on that. All the best, jarich
In Section
Seekers of Perl Wisdom
|
|