Okay so I wrote a program over a year ago on a PC in java that I want to use on my nice new Powerbook. I've got it all loaded into XCode, but there's just one teeny little line that won't work. I'm trying to load a txt file filled with a bunch of numbers into a File object with this line:
File periods = new File("...");
Where, at least on Windows, the "..." was the file path to the text file "periods.txt." I don't know how to describe the file path on a mac. The file is in the same folder as all the .java files. What should I do? Thanks.
File periods = new File("...");
Where, at least on Windows, the "..." was the file path to the text file "periods.txt." I don't know how to describe the file path on a mac. The file is in the same folder as all the .java files. What should I do? Thanks.