removing comments in a c program

Light Poster
19Oct2007,20:48   #1
rohit83.ken's Avatar
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
Team Leader
19Oct2007,23:43   #2
DaWei's Avatar
Duplicate thread. Locked. Do not do this anymore.
Go4Expert Founder
20Oct2007,09:54   #3
shabbir's Avatar
Duplicate of removing comments of type // and /*