• Post Reply Bookmark Topic Watch Topic
  • New Topic

Read & Write to File  RSS feed

 
Ismael Vazquez
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!! I was wondering if anyone could help me out. I'm rather new to programming and I'm trying to make a gui program that will allow the user to create text files. They will be prompted to enter what they'd like to save their file as and then they will be allowed to input text to that file . They will also be allowed to open their files to modify or view its contents. So to start things off, I'm making a prototype if you will.. I've been able to save to a file the problem occurs when I try to read/display it. I've looked it up and can't seem to find a solution.

Main Class:


The Class That Creates the File:


The Problem Class:


Any tips/suggestions/solutions would be greatly appreciated!
 
Piet Souris
Master Rancher
Posts: 2044
75
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ismael,

although you do not make clear what error you get, I would like to
advise this:

in your ReadFile class, in line 14 (empty now), put

What output do you get?

Greetz,
Piet
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!