Question: How can I check if there is more content in a text file in c++ and if there is continue to read it?
I am trying to read a some words from a text file but the number of words is not specified.

Answer: 
This happened to me as well. What I did: 

> 
> 1. Make sure all your hardware *(iPhones, iPads ect..)* are all up to date.
> 2. Make sure Xcode and all other software are up to their latest versions.
> 
> 
> 

After you have done both of those, restart your computer and try again.
It **will** take a while for Xcode to processes the index files for the first time, but after these steps above, it should work fine.
Try this:
---------

1. Clean Project
2. Remove this folder Library/Developer/Xcode/DerivedData/ModuleCache
3. Find your project folder in Library/Developer/Xcode/DerivedData/ and remove
4. Restart Xcode