RoxburyGuy58
Smash Journeyman
So let's say that I have a text file that has hundreds of words. I want to use a try-catch exception method that will only write out all of the five-letter words in the .txt file. This is being coded in Visual Studio 2012. I understand the basic syntax of a try-catch and what it does, but I'm not entirely sure how to approach the problem. I've been told that catching IO Exceptions would help, and I looked up a bunch of "Nearest-Neighbor Algorithms", but it's tough to understand. Help please?