Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thefil

macrumors newbie
Original poster
I'm coming from a Windows environment and I have a bit of a file input problem...

Code:
glass = new Scanner( new File("\Users\filipkrynicki\Mydia 4.0\build\classes\mydia40\db.m4"));

returns an error "illegal escape character"

*edit* I fixed that problem by doubling the \\s, but now it can't find the file. Am I doing something wrong?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.