try-catch block write code that opens

try-catch block write code that opens

Page 1 of 1

1 Replies - 626 Views - Last Post: 16 December 2009 - 01:56 AM Rate Topic: -----

#1 ali2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 16-December 09

try-catch block write code that opens

Posted 16 December 2009 - 01:52 AM

Using the try-catch block write code that opens a file “default.dat” when an attempt to open a user designated file raises an exception.


:D :D :D :D

Is This A Good Question/Topic? 0
  • +

Replies To: try-catch block write code that opens

#2 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,071
  • Joined: 10-May 07

Re: try-catch block write code that opens

Posted 16 December 2009 - 01:56 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1