title: Remove comments from C/C++ code
body: <p>Is there an easy way to remove comments from a C/C++ source file without doing any preprocessing. (ie, I think you can use gcc -E but this will expand macros.) I just want the source code with comments stripped, nothing else should be changed.</p>
  
  <p>EDIT:</p>
  
  <p>Preference towards an existing tool. I don't want to have to write this myself with regexes, I foresee too many surprises in the code.</p>