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...
Type: Posts; User: vsla
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...
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...
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...
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,...
swoopy, many thanks for the reply. That solved the problem :). I understand now the mistake I was making. Thanks.
Best
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...