File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing to file issue

 
Samuel Bird
Ranch Hand
Posts: 96
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am completing a USACO online problem and am trying to create a print writer to write to my file(ride.out). I did this:



However, a load of undefined constructor errors come up for PrintWriter(BufferedWriter) and BufferedWriter(FileWriter). I have imported java.io.* so I don't know what the issue is. This has worked before.

Sam

edit: bufferedreader? i give up(not literally)
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samuel Bird wrote:edit: bufferedreader? i give up(not literally)

I'm assuming this means you have solved your problem.
If so, it would help if you made this a bit more clear.
 
Samuel Bird
Ranch Hand
Posts: 96
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, It is solved. I thought that clicking the resolved button was enough.
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samuel Bird wrote:I thought that clicking the resolved button was enough.

Okay. I didn't notice you'd done that. I missed the flag on the listings page and there's nothing on this page to show the status.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic