Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve it as possible as you can the second photo is a pic for the inputs in the file Department of Computer Science COMP2321

Please solve it as possible as you can
the second photo is a pic for the inputs in the file image text in transcribed
image text in transcribed
Department of Computer Science COMP2321 Spring 2020/2021 Write a C program to build a simple dictionary. You are required to read the words and its relevant meaning from a file named inputWords.txt. As well as, the user should be able also to insert new words into the dictionary with their relevant meaning. As well as, provide the user to search for a specific word or search the dictionary with all words that start with a specific character. Use the attached file as input file. Hint: you may use the following concepts in C: struct, array, switch, functions, loops, string, read/write from/to file Please use the following format for inputs WordNo. Word: meaning Example 36. Pleasure: a happy feeling The program interface should be similar to this Please select an option 1- Read File and build the dictionary 2- Search for a specific word 3- Search for all words that start with a character 4- Insert new word to the dictionary 5- Save the dictionary back to the file 6- Exit 1. foe: enemy 2. vast: huge 3. purchase: buy 4. drowsy: sleepy 5. absent: missing 6. prank: trick 7. feeble: weak 8. annual: yearly 9. sturdy: strong 10. reply: answer 11. voyage: trip 12. shiver: shudder 13. slumber: sleep 14. meadow: field 15.banner: flag 16. loyal: faithful 17. ill: sick 18. vacant: empty 19. stalk: stem 20. wild: untamed 21. slosh: splash 22. frayed: worn 23. overcast: cloudy 24. mammoth: large 25. furious: angry 26. assist: help 27. task: job 28. bothersome: annoying 29. lurk: wait 30. orbit: circle 31. deep: many feet of water 32. shallow: not much water 33. flexible: bends easily 34. rigid: stiff 35. pain: what you feel when something bad happens 36. pleasure: a happy feeling 37. repair: fix 38. break: shatter 39. infant: baby 40. adult: grownup 41. bright: light 42. neat: tidy 43. dim: not much light sloppy: messy 45. gracious: polite 46.attic: at the top of the house 47. cellar: at the bottom of the house 48. rude: not polite 49. borrow: you get something 50. lend: to give something 51. birdbath: bath for birds 52. eyelid: protects your eye 53. waterfall: when water drops over a cliff 54. keyboard: part of a piano that you play 55. lunchtime: middle meal of the day 56. hairbrush: what you use to brush hair

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions