Question: This is a C++ PROGRAM..... Part B Program #3 A frequency table lists words and the number of times each word appears in a text
This is a C++ PROGRAM.....
Part B Program #3 A frequency table lists words and the number of times each word appears in a text file. Write a program that creates a frequency table for a file whose name is entered by the user. You can use a map of string-int pairs. You may want to use the C library function ispunct() (in header file CTYPE.H) to check for punctuation so you can strip it off the end of a word, using the string member function substr(). Also, the tolower() function may prove handy for uncapitalizing words. Program #4 Create a single linked list that contains the data (age) of your friends. Perform basic operations including insertion, deletion, searching and display. The insertion operation should only allow a friend's data to be inserted in sorted order only. Program #5 Create a student hash table that contains information, studentID (int), name (string), marks_oop345 (float). The size of hash table is equal to the number of students in the class. Use linear probing in case of collisions. Perform insertion, deletion, display and search operations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
