How to read from another file

Hi guys, I'm currently studying from the book "Accelerated C++" and am stuck in this exercise

"Palindromes are words that are spelled the same right to left as left to right. Write a program to find all the palindromes in a dictionary. Next, find the longest palindrome.

My problem is, how do I get the entire word in the dictionary? Surely it isn't expecting me to input all the words by myself..

Last edited on
You can input whatever words you want, the point is to make sure the program works as designed.
Ever think of downloading a dictionary file from the internet?
Google "download dictionary file"
Topic archived. No new replies allowed.