this program in C that removes comments from C sources.
I looked up an example and it worked, but only on itself. It didn't work on my source files. I basically copied it identically and now it isn't even working on itself. I did this because my own original implementation didn't appear to work. But now I'm not sure.
Is this because of encoding? ASCII vs. Unicode?
I've been struggling with this for a week.
Do you remember which K&R exercise that is?
Обсуждают сегодня