Write My Paper Button

WhatsApp Widget

Please do the following project in C++ programming language. You can use a bag to create…

Homework Help Question & Answers

Please do the following project in C++ programming language. You can use a bag to create…

Please do the following project in C++ programming language.

You can use a bag to create a spell checker. The bag serves as a dictionary and contains a collection of correctly of correctly spelled workds. To see whether a word is spelled correctly, you see whether it is contained in the dictionary. Use this scheme to create a spell checker for the words in an external file. To simplify your task, restrict your dictionary to a manageable size.

The dictionary to add to your bag is attached Your program should read in the contents of this file and put them into a bag. Then, read a second file (not supplied, you chose) and check to see if the words from the file appear in your bag. If so, assume the word is spelled correctly. If not, assume the word is misspelled. Your program should print out the misspelled words.

For this program, you are free to create other functions (in addition to main()) as needed. (In chapter 1, the guessing game problem asks for an ADT, so you should probably have multiple functions/methods!) Can probably be completed in a single source code file (in addition to the Bag source code). I’m open to more complex implementations, but for the purposes of this assignment, it’s not necessary.

Apple Apricot Avocado Banana Bilberry Blackberry Blackcurrant Blueberry Boysenberry Currant Cherry Cherimoya Cloudberry Coconut Cranberry Cucumber Damsorn Date Peach Pear Persimmon Plantain Plum Prune Pineapple Pomegranate Pomelo Quince Raspberry Salmonberry Redcurrant Salak Satsuma Soursop Strawberry Durian Elderberry Fig Gooseberry Grape Raisin Grapefruit Guava Honeyberry Huckleberry Tamarind Yuzu Avocado Cucumber Eggplant Olive Pea Squash Tomato Jackfruit Jambul Jujube Kiwifruit Kumquat Lemon Lime Loquat Langan Lychee Mango Melon Cantaloupe Honeydew Watermelon Mulberry Nectarine Nance Olive Orange Clementine Tangerine Papaya Passionfruit
0 0
Add a comment
Don`t copy text!
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
???? Hi, how can I help?