Hey everybody thanks, im having trouble with using the "enum function"
I dont know what to set OUTSIDE and INSIDE equals to.Code:enum Status{OUTSIDE = ?, INSIDE = ?);
If anyone could help I would really appreciate it. Thanks-
Hey everybody thanks, im having trouble with using the "enum function"
I dont know what to set OUTSIDE and INSIDE equals to.Code:enum Status{OUTSIDE = ?, INSIDE = ?);
If anyone could help I would really appreciate it. Thanks-
In C++, enumerated types can be used to good advantage - not so with most C compilers.
Read the tutorial link in the post up above, for crying out loud. Especially the "Note to C programmers: ..."
All you need is just:
int OutText = 1;
int OutAttrb = 1;
as global variables, preferrably.
Now as you scan through your document, anytime you are Outside ANY html tag, AND outside any html attribute, you're ready to copy the text out of the html file, and put it into the new text file your program is creating.
Don't make this harder than it needs to be, please!