Question: 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 instructions


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
Get step-by-step solutions from verified subject matter experts
