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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment