Question
C++ creating a dictionary with arrays and strings. I need to create dictionary with two functions that inputs data and one that outputs data without
C++ creating a dictionary with arrays and strings. I need to create dictionary with two functions that inputs data and one that outputs data without using the standard libraries like map and vectors. So far I have the input function but i'm confused on outputting the data in the other function since I need to store the word in one array and the definition in the other array. Strings can be used. Any insite would be greatly appreciated. For example:
How many terms do you want the dictionary to hold? 2
Enter Term 1: Acronym
Enter the definition for "acronym": an abbreviation formed from the initial letters of other words and pronounced as a word.
Enter Term 2: Loft
Enter the definition for "Loft": upward inclination given to the ball in a stroke.
You entered:
1. Acronym: an abbreviation formed from the initial letters of other words and pronounced as a word.
2. Loft: upward inclination given to the ball in a stroke.
Step 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