Remove unwanted lines,dead code from source code?

Posted by Passionate programmer on Stack Overflow See other posts from Stack Overflow or by Passionate programmer
Published on 2010-04-14T10:28:04Z Indexed on 2010/04/14 10:33 UTC
Read the original article Hit count: 378

Filed under:
|
|

How to make source code free of the following

  1. Remove dead codes that are more than few lines between /* c++ codes */
  2. Change more than one line breaks to one
  3. Remove modified user name and date /*-------- MODIFICATION DONE by xyz on ------------*/

I have used a code formatter tool to get a nice formatted code but stuck with code with above items.Is there any way to make sure codes like above doesn't get in to svn and automatically formatted code gets into the source.

© Stack Overflow or respective owner

Related posts about c++

Related posts about source-code