Easy way to remove all c++ comments from code
-
Hi all,
I need to give a part of my source code to a customer but I wat to remove all comments from the code:
@
//my comment/*
my comment
*/
@Is there a way to do that from QtCreator.
I'm actually trying with the find function and RegExp. I find all occurrence of:
@
//.*
@
and I replace with :
@
//------------
@
This is not so difficult but how can I find the following comment:
@
/*
my comment
*/
@?
-
"Try this":http://lmgtfy.org/?q=c+++comment+remover