title: How to extract code comments from a C file?
body: <p>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? </p>
  
  <p>Thanks in advance.</p>
  
  <p>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?</p>