Search:

Type: Posts; User: laserlight

Search: Search took 0.47 seconds.

  1. Replies
    26
    Views
    11,269

    That is precisely the point: if a fixed size...

    That is precisely the point: if a fixed size array is used, taking the sizeof the struct will reflect the array size. If a dynamic array is used, then the part about storing the size or using a...
  2. Replies
    26
    Views
    11,269

    I am not sure about best, but it is a solution. ...

    I am not sure about best, but it is a solution.

    Incidentally, have you considered say, using SQLite? It has been described by its own author as a substitute for fopen(), and depending on your...
  3. Replies
    26
    Views
    11,269

    Your favourite editor (including vi clones and...

    Your favourite editor (including vi clones and emacs) may support hex editing, or just need a plugin to augment it with hex editing functionality.
  4. Replies
    26
    Views
    11,269

    That would be fine: after all, when you read back...

    That would be fine: after all, when you read back from file, you can ignore whatever is after the null character, as is the normal approach for null terminated strings. Alternatively, you can store...
  5. Replies
    26
    Views
    11,269

    Examine the file's contents by some other method...

    Examine the file's contents by some other method :)
Results 1 to 5 of 5