reading an external txt file
i'm trying to read the contents of an external file in my program, but java can't find the file. the line it marks is
FileReader fr = new FileReader( "C:\\Euler_18_triangle.txt" ) ; speccificlly the n in new. And the error is:
unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown there is a file called Euler_18_triangle.txt in the top level of my c drive
Last edited by gizmo1650; 06-11-2010 at 11:20 PM..