资 源 简 介
Simple Perl script to convert C++ style comments (i.e. //) to pure C style (/* */).
Small feature:
If there is a correct C style comment inside a C++ comment, it is retained and rest of a C++ comment is commented out separately.
E.g. line:
//old code /* very old code */ and another one
is transformed into:
/* old code */ /* very old code */ /* and another one */