Tuesday, July 28, 2009

Write program in c language to remove all comment lines from a existing c file?

Show us what you have so far instead of putting no effort into it at all.

Write program in c language to remove all comment lines from a existing c file?
Whenever you encounter //, remove it from the text until you read a newline. Whenever you encounter /*, remove it from the text until you read */





It shouldn't be that hard.


No comments:

Post a Comment