home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / sharstrm.zip / README < prev    next >
Text File  |  1993-03-04  |  1KB  |  29 lines

  1.  
  2. //-------------------------------------------------------------------------
  3. // Subj: File Locking and C++ Streams - a test program
  4. // From: Mark Howell - 71730,2642
  5. // 
  6. // This zip contains the following:
  7. //
  8. //    SharStrm.cpp      - the source for the test program
  9. //    SharStr1.exe      - the source compiled
  10. //    SharStr2.exe      - the source compiled
  11. //    ReadMe            - this file
  12. //
  13. // Notes:
  14. //    This is a test program to show how to use file locking in
  15. // concert with C++ file streams.  I already know this is not
  16. // the most elegent solution, but it does work.  I included two
  17. // copies of the compiled source for testing purposes.  I tested
  18. // it under two DOS sessions under OS/2 2.0
  19. // I am interested in any thought as to encapsulating this into
  20. // a class.  Considerations are: 1) the I/O methods of xstream
  21. // classes, 2) xfstream inheritance, and 3) LITTLE OR NO CODE
  22. // DUPLICATION DOWN INTO THE NEW CLASS!
  23. // ( If a class must duplicate a lot of code from the inherited
  24. // class then either the new class is poorly designed, the 
  25. // parent class is poorly designed, or a completely new class
  26. // is in order. )
  27. // Let me know.            Mrk.
  28. //-------------------------------------------------------------------------
  29.