Search:

Type: Posts; User: vsla

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,767

    Hi laserlight, thanks for the answer. A...

    Hi laserlight, thanks for the answer.



    A trie is a type of tree, normally used to store data (strings) in a compact way. The links b/w nodes have a label (a char, commonly), and these are...
  2. Replies
    2
    Views
    1,767

    Storing array of integers as keys

    Hi, I have to store sequences of integers as keys, which have a value associated to the sequence. e.g. a key could be '100 200 3000'. What is the most efficient way to store the keys? (I care mainly...
  3. Replies
    3
    Views
    3,474

    Thanks for the answers. >Maybe you should do...

    Thanks for the answers.

    >Maybe you should do some error checking with your fread() and fwrite()
    I had checked this and I saw it could both read/write some data from/to the file.

    >Why are you...
  4. Replies
    3
    Views
    3,474

    Serializing/deserializing problem

    Hi, I'm using a trie for fast storing/retrieval of strings and associated value, and the trie API includes functions for de/serializing the trie. So I need to implement a save() and load() methods,...
  5. Replies
    2
    Views
    2,094

    swoopy, many thanks for the reply. That solved...

    swoopy, many thanks for the reply. That solved the problem :). I understand now the mistake I was making. Thanks.

    Best
  6. Replies
    2
    Views
    2,094

    A problem with pointers

    Hi. I'm a beginner in C and I'm having a problem in a function. It's maybe an obvious thing but I can't see what it is. The program compiles fine, the problem is in the expected result.

    I parse a...
Results 1 to 6 of 6