Keep It Simple, Stupid | |
PerlMonks |
how do I print content of a cpp file without cpp comments?by jsmith (Initiate) |
on Sep 19, 2006 at 13:14 UTC ( [id://573709]=perlquestion: print w/replies, xml ) | Need Help?? |
jsmith has asked for the wisdom of the Perl Monks concerning the following question:
I don't want to print c++ program comments only all of c++ program but not comments that start with // and /* .... */. what I have is this and it prints everything (includes comments as well).
20060919 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
Back to
Seekers of Perl Wisdom
|
|