Thread: Understanding fseek

  1. #16
    Registered User
    Join Date
    May 2009
    Location
    Look in your attic, I am there...
    Posts
    92
    Not to be argumentative, but...
    Don't be hesitant to suggest something

    Define "quite large"... especially in a machine with 8 or 16gb of memory...

    I commonly load 10 and 15 megabyte files into memory in one pop without problems.
    The files I am reading are around 5mb - 40mb, however, I want to read them all in together using threads. I was thinking because of this that doing a giant memory write would be a bad choice.

  2. #17
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by 127.0.0.1 View Post
    Don't be hesitant to suggest something



    The files I am reading are around 5mb - 40mb, however, I want to read them all in together using threads. I was thinking because of this that doing a giant memory write would be a bad choice.
    This is something you have to decide for yourself... and of course it depends entirely on what you're doing with them. One at a time, I would do it... all at once, maybe not.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to 'C' using fseek(), please help
    By leopardforest@g in forum C Programming
    Replies: 9
    Last Post: 05-09-2007, 04:53 PM
  2. Reg. fseek
    By pokks in forum C Programming
    Replies: 1
    Last Post: 01-16-2006, 01:28 PM
  3. Help With fseek();
    By Explicit in forum C Programming
    Replies: 3
    Last Post: 05-26-2004, 08:40 PM
  4. fseek
    By Max in forum C Programming
    Replies: 5
    Last Post: 12-15-2003, 03:21 PM
  5. fseek ???
    By davie_scotland in forum C Programming
    Replies: 2
    Last Post: 02-19-2002, 06:13 PM