Search:

Type: Posts; User: Adak

Search: Search took 0.11 seconds.

  1. Replies
    18
    Views
    7,054

    Could you use something like this, or are you...

    Could you use something like this, or are you totally unsure of how many rows the array should have? (can't guess within 5,000 or so?)


    It uses very little memory if you make the "count"...
  2. Replies
    18
    Views
    7,054

    It might not be standard C, but the OS seems like...

    It might not be standard C, but the OS seems like a good place to get the file size.
  3. Replies
    18
    Views
    7,054

    DID YOU SAY YOUR LINE LENGTHS WERE PREGIVEN AT...

    DID YOU SAY YOUR LINE LENGTHS WERE PREGIVEN AT 200 CHARS?

    A-L-W-A-Y-S 200 chars? I'll bet you could find a relationship between a file with x number of lines:

    x = file_size in bytes / 200...
  4. Replies
    18
    Views
    7,054

    Your #1 idea was fine, but for external files...

    Your #1 idea was fine, but for external files (not already loaded into a data struct), merge sort seems very natural to use - and it doesn't care what the size of the file is.

    "puffers"?? I've...
Results 1 to 4 of 4