Comment Stripper
Remove comments and regions of code that are prevented from compilation by #if 0 ... endif clauses.
Often when developing code, it is convenient to leave code present in the source file in the form of a comment. This can also be useful when using an existing piece of code that is acting as a template where it is not possible to reuse code via object oriented techiques.
Whilst we don't recommend this as a general way of approaching software development, we realise that there are occasions where copying an existing project, performing a few selective edits, commenting out some functionality and adding a bit of code can produce a useful small scale software tool in less time than writing the tool from scratch. This tool was created in this manner using the findAndReplace tool as its starting point.
When the project is complete much of the commented out code should be removed. Automating the identification and removal of this code is much faster and less error prone if a software tool is used to aid the process. The comment stripper is such a tool.
This program is provided with source code. If you find any bugs with this program, please let us know: bugs@objmedia.demon.co.uk.
You use this program at your own risk. Object Media will not be responsible for any loss or damage that may arise from using this program or a derivative of this program.
Download the source.
Download the executable and the common files installer.
Information about using the program can be found on the help page.
Last Updated 7 February, 2008.

