home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bfast.zip / BROWSE.CPP < prev    next >
C/C++ Source or Header  |  1992-03-19  |  1KB  |  39 lines

  1. // -------------------------------------------------------------
  2. // Browse is a another class based on class Btrieve
  3. //
  4. // If you are interesting in Browse, please contact me.
  5. //
  6. //           Chaolin Chang
  7. //           34 Bettina Street, Clayton,
  8. //           Vic., Australia, 3168
  9. //
  10. //           Voice: +61 3 565-2360
  11. //           Fax  : +61 3 565-5159
  12. //
  13. //           Internet: chaolin@fcit-m1.fcit.monash.edu.au
  14. // -------------------------------------------------------------
  15. //  Use of Browse is extremely simple, yet powerful.
  16. //  Besides, browsing through the whole file, you can also
  17. //  1. show part of the field and decide their display sequence
  18. //  2. set filter on records, so that only part of the records are shown.
  19. // -------------------------------------------------------------
  20. //
  21. // NOTE: run btrieve.exe before browse.exe is run
  22. //
  23. // -------------------------------------------------------------
  24. #include "display.h"        // my disply function header file
  25. #include "btrieve.hpp"
  26. #include "browse.hpp"
  27.  
  28. #include "order.def"
  29. #include "order.hpp"
  30.  
  31. main()
  32. {
  33.     Btrieve f("", "ORDER.DAT", order, FLD_ORDER);
  34.  
  35.     Browse v(&f, 2, 2, 20, 60);
  36.  
  37.     v.Show();   // activate the browser
  38. }
  39.