Hello, i am researching lexical analyzers and i was wondering if anyone can run this code properly. I get it to run in visual c++, but i just get the dos window with no activity. it is a long program, here is the link:
also, you must add #include<ctype.h> to the program in order for it to run. what am i doing wrong? i tried this at the command line since it is using the unix pipe: type test.txt | cmp. cmp is the name of the file.
thanks for any help.
also, you must add #include<ctype.h> to the program in order for it to run. what am i doing wrong? i tried this at the command line since it is using the unix pipe: type test.txt | cmp. cmp is the name of the file.
thanks for any help.