I have a C file which contains lots of code comments, how I can I extract the comments? Just want the comments, not the c code. Is there any tools i can use to do this. e.g Doxygen? or need i to build a parser by myself? if needed, which language is better?
Thanks in advance.
thank you all!!
i start to look into perl now, have never used this kind of language before, it seems so clever~~ and is there any suggestion for extracting xml from a file that contains xml?
I suggest you to use an scripting language, such as Perl, and parse the file looking all the possibilities: