setting buffer size for fstream

Discussion in 'C++' started by shea martin, Jul 28, 2003.

  1. shea martin

    shea martin Guest

    I have a very IO instensive program. I need to know if there is a way
    to set the buffer size the ifstream and ofstream use.

    Or is it easier to just create a wrapper class and maintain my own buffer.

    Thanks,

    ~Shea M.
     
    shea martin, Jul 28, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Armando
    Replies:
    6
    Views:
    763
    Armando
    Jan 29, 2004
  2. Skyhorse
    Replies:
    4
    Views:
    4,240
    EventHelix.com
    Apr 16, 2004
  3. Raja
    Replies:
    12
    Views:
    24,522
    John Harrison
    Jun 21, 2004
  4. Acer
    Replies:
    2
    Views:
    533
    Sirish Kumar
    May 26, 2006
  5. Itay Greenspon

    Setting perl's output buffer size

    Itay Greenspon, Oct 16, 2007, in forum: Perl Misc
    Replies:
    2
    Views:
    182
    Itay Greenspon
    Oct 18, 2007
Loading...

Share This Page