This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing to file issue

 
Samuel Bird
Ranch Hand
Posts: 96
Eclipse IDE Java Linux
  • 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
Posts: 3742
16
  • 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
  • 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
Posts: 3742
16
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic