Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 operationsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started