Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ language Build HyperDox, a hyperlinked document system similar to web pages on the Internet. Given a folder full of text files (Dox) the program

C++ language

Build HyperDox, a hyperlinked document system similar to web pages on the Internet.

Given a folder full of text files (Dox) the program will:

  • Import the contents of all .dox files in a given folder
  • Display the content of any given document
  • Calculate and display on request statistics about each document including:
    • The number of words
    • The average word length
    • The number of embedded links
  • Create an optimized search index for all the words in all the documents (ignore punctuation and case)
  • Provide a means to accept and execute user commands
  • Allow the user to search for and navigate to occurrences of specific words using the search index
  • Maintain a list of anchors (link endpoints) defined in each document
  • Resolve upon request any document links consisting of either:
    • A filename and an anchor, e.g. "|file.dox:my_anchor|" OR
    • A filename and a character index, e.g. "|file.dox:1032|" OR
    • A filename, e.g. "|file.dox:|"

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Use a three-step process to develop effective business messages.

Answered: 1 week ago