Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

word stores

Name: Anonymous 2011-09-18 22:46

a better dictionary?


const charVal[30]={"!+-recognise these chars*/();.,?"};
struct s_chNode{int ID, extendID, byVal, branch, chleaf, unileaf;};

struct s_uniNode{int ID, extendID, byVal, branch, leaf;};


s_chNode is used as a plain old trie... Until it reaches a specified length (2-5 chars?) where the chain of chars being added becomes redundant... Eg Adding 'Abc' to 'Abc'

Then s_uniNode takes over (a First order Nest?), which allows for 'partial' prefix & suffix compression?
Each uniNode can point to a previous uniNode or Null/Empty, like chNodes, but also points to a chNode, which might be as many as five? chars at once...

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2011-09-19 18:48

>>9
for (i=1; i<argc; ++i)

This is a semantic error.


f = atof(argv[i]);

This will bork if the sign changes.


count++;

Rookie alert!

resum += (1.0/f);

You might want to consider taking up something that requires a little less mental power. Like perhaps, say, replacing a network switch on a LAN.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List