removing comments in a c program

rohit83.ken's Avatar, Join Date: Oct 2007
Light Poster
I want to write a program that takes a file having comments and removes

the comments and prints the c source code file into the other file
please give me the link or the source code itself
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
Duplicate thread. Locked. Do not do this anymore.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Duplicate of removing comments of type // and /*