Question #15619

Write a c++ program that reads in a text file and writes out another text file. The input file mayhave any number of HTML tags per line. The output file will be a copy of the input file but
with spaces substituted for each HTML tag. The program will not check HTML syntax; it
looks at the file as a stream of tokens and substitutes spaces for each token that is a tag. For
this program, an HTML tag is any token that looks like one of these:
// Assume that Word is a single word (perhaps just one letter or no letters) and that there are no
spaces between the left and right angle brackets. With this definition, the following are tags:
//

[i] [/i]// With this definition, the following are NOT tags (although some are with real HTML):
//< p> [i] // < /em>[table] [/table][/i]

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

LATEST TUTORIALS
APPROVED BY CLIENTS