12 Topics

Member Avatar for
Member Avatar for BibhutiAlmighty

Can anyone please help me to add number of strings to a hash table. Actually i am trying to make a "hangman game". I want to store the answers in a hash table but there's something wrong i my code <sorry!! I can't provide the code>. Please suggest me a …

Member Avatar for chriswelborn
0
215
Member Avatar for woomar

Hi. I am very new to hashtable concept. Here is a skeleton of the methods I need to implement; BUT, my biggest question is the inner Entry class. Am I implementing the entry class correctly?Is my constructor correct? Thanks public class HashTable<K, V> { /** define an inner class to …

Member Avatar for JamesCherrill
0
210
Member Avatar for Pyler

would you just do @Override public boolean contains(T param){ return hashTable[function(param)]!=null; }

Member Avatar for JamesCherrill
0
214
Member Avatar for whtewa

The hash table stores phone numbers and names, uses the names as the keys. The problem I have is when I use the terminal window to enter the names and numbers. The strange problem that occurs then is that all the names get the same phone number. But when i …

Member Avatar for WaltP
0
196
Member Avatar for janet@123

I am trying to use the glib HashTable implementation for my code and facing some issues in memory allocations. The code I've written is: GHashTable *g_hash_table; g_hash_table = g_hash_table_new (g_direct_hash, g_direct_equal); gint *port, *src_value, *value; guint32 *dst_key, *key; . . . while(1) { key = g_malloc (sizeof *key); dst_key = …

0
126
Member Avatar for java_sabin

im doing remote desktop project. i need to connect two sockets (each from single client) through the hashtable in the separate application server, so that client1 can see the desktop of the client2. can u suggest me solution for this? how can i achieve this? so far i can connect …

Member Avatar for bambam2174
0
251
Member Avatar for haanjae

hello all, i have some calculation codes class in my client side, how my server gonna get those values and display it in my server? i had created windows forms labels in server. know i have the calculation class and main client forms in my client side, and main server …

0
145
Member Avatar for dsmush

Hi trying to recover an RSA encrypted 5 character word using a forward search dictionary attack in Python but having difficulty. The word was encrypted in 2 24 bit blocks (3648141 5604637) padding last block with a space e = 5 n = 21508387 table = {} for ptext in …

0
111
Member Avatar for farshadak2004

I'm building a dictionary and I have a database of words with equivelant meaning in Access file. I want to use hash table for finding the words and the meaning. My question is how to implement the hashtable which can use the file as the reference. or any other guide …

Member Avatar for thines01
0
86
Member Avatar for Warhead88

Hi, Can anyone show me or point toward a link with a decent example of a hash table using linked list. Thank you ,

Member Avatar for Warhead88
0
328
Member Avatar for milan2011

Hi, I am trying to use a hash table to sort the two string words from an input file ,display words and again put them back to an output file. so if this is my input in input.txt: thank Merci yes oui hello bonjour the sorted output in output.txt will …

Member Avatar for m4ster_r0shi
0
675
Member Avatar for bfprii

I want to merge 2 or more hashtables together..It doesn't matter what the final form is, as long as I can iterate through it. Here the final form is an array. So I have an unsigned long long as the key, the value is a string,int pair. Each key maps …

Member Avatar for bfprii
0
202

The End.