Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have a programming assignment due that I do not understand and here are the full instructions CSCE 2100, Spring 2017 Programming Assignment 02 Full

I have a programming assignment due that I do not understand and here are the full instructionsimage text in transcribedimage text in transcribedimage text in transcribed

CSCE 2100, Spring 2017 Programming Assignment 02 Full Points: 100 Submission Due 02/22/2017 (Wednesday), 11:59 pm Create two classes word and linked list in C++ 1. Class word' contains the following properties a) A member string called 'word to hold a string or word b) A member integer called frequency to count the frequency of the word c) A pointer to point to the next element of the same class Add appropriate member-functions such as, a constructor b) function (s to print the word and it's frequency c) function to update/increase the frequency of the word 2. Class linked list contains a pointer of type word Add appropriate functions to a) initialize the linked list b) grow the linked list when a new word appears c) print the linked list Then write a separate file program 02. cpp" where you will read an integer 'n' and then using a repetitive structure read n strings (n words Every time you read a word, store it in your linked list If the word already exists increment the frequency of the word otherwise, create a new word at the end of the linked list. After reading n words from a file/console, print the word and its frequency. Finally, print a message like the following The input set contains m unique words out of total n words

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

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago