Can you please give me some advice on how to go about writin

Can you please give me some advice on how to go about writing a c++ program to do this, I am quite lost...Write a program named hw5pr3.cpp which repeatedly reads a word from the keyboard and then checks to see if that word is in the file /usr/share/dict/words, the dictionary on build.tamu.edu. A sample run should look like this: Enter word: exquisite That word is in my dictionary Enter word: antidisestablishmentarianism That word is in my dictionary Enter word: potatos That word is not in my dictionary

Solution

The logic to program this problem is very easy.

You just need to do the following:

1. Open the file in which the data is stored.

2. Make a while(true) loop this will repeatedly ask you to enter the keyword and check if this keyword exist in the opened file or not.

Can you please give me some advice on how to go about writing a c++ program to do this, I am quite lost...Write a program named hw5pr3.cpp which repeatedly read

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site