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 anHTML file, ignoring the HTML markup. As an example " Hi there>"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. Herewould print hi there Since this program is similar to the previous 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 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);" f an error occurs. Here la 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 e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!