I'm looking for a C++ parser/simplified lexical analyzer that pulls the data from one file and puts it into another txt file. The input files look similar to this one..
Does anybody know where I can find an example? I haven't had any luck so far at all.Code:class A { int a[11],x,y,z; char *oneString; public: A() { oneString= new char[100]; } ˜A() { delete oneString; } void f(); }; void A::f() { int temp; x=y+1; z=x+2; z= x*x; }
P.S. Those are C++ reserved words, functions etc. So the list would look like this:
Int
char
a
x
class
etc.



LinkBack URL
About LinkBacks



