Question
C++ PROGRAM Create a program that displays the individual words in an HTML file, ignoring the HTML markup. As an example Hi there> would
C++ PROGRAM
Create a program that displays the individual words in an HTML file, ignoring the HTML markup.
As an example "
Hi there>" would print
hi
there
Since this program is similar to the previous homework you may want to use that code as a starting point.
Requirements:
User must specify the name of the file to analyze when the program is run. If not an error should be generated.
Optional: Include "windows.h" and use "MessageBox(NULL, TEXT("A message goes here..."), TEXT("My Application"), MB_ICONERROR);" if an error occurs. Here is an example.
Constants where appropriate.
I/O (stream) manipulators to format the output so that it is identical to the example below
Note: There are solutions to this program that use Standard Template Libray functions. For this exercise you MUST go old school and use branches and loops only. Besides the STD functions mentioned above (e.g. strings, I/O manipulators) you can use the function iswspace located here (Links to an external site.)Links to an external site.
Create a program that displays the individual words in an HTML file, ignoring the HTML markup. As an exampleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started