Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a c++ program to create a dictionary. The dictionary has 26 files (files).

ID: 3682848 • Letter: W

Question

Write a c++ program to create a dictionary. The dictionary has 26 files (files). You may name the files (tables) as a.txt,..... z.txt. Your dictionary class should have at least the following attributes and methods:

#include<iostream>

#include<string>

#include<vector>

using namespace std;

class Dictionary

{

                private:

                                const      int maxWordsInDict;

                                const      int maxWordsPerFile;

                                                int           totalWordsInDict;

                                                int           numOfWordsInFile[26];

                                static      bool failure;

                                static      bool success;

               

                public:

                                Dictionary();

                                Dictionary(int dictMaxWords, int fileMaxWords);

                                bool AddAWord(string word);

                                bool DeleteAWord(string word);

                                bool SearchForWord(string word);

                                bool PrintAFileInDict(string filename);

                                bool SpellChecking(string fileName);

                                bool InsertWordsIntoDict(string fileName);

                                void ProcessTransactionFile();                     

};

Explanation / Answer

Answer:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote