Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

School project  RSS feed

 
Robert Cooper
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I need help with this school prodject.
I can write a class that preforms writing a file and another that reads the file, but I do
not know how to break it up into separate methods.
Can someone please help.
**REQUIREMENTS**
>Create two model classes SeqIn and SeqOut.
>They will handle IO for sequential files.
(handler will be kept ?)
>Each instance will comprise one file. The file handle will kept as private attributes of
>the object.
>Create the obvious methods:
>open,***for both classes
>close,***for both classes
>read,***for SeqIn
>write***for SeqOut
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you post your existing code I'll point you in the right direction.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!