Hi all,
I need to know how will you write a enum value to an output file.
The Program Is As Follows:
typedef enum {
ID,INTLITERAL, BEGIN, END, READ, WRITE
}token;
when i read a "begin" in an input file say, in.txt i return BEGIN. and after returing i want to write "BEGIN" to a output file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.