Thread: Hashtable in C programming

  1. #1
    Banned
    Join Date
    Apr 2015
    Posts
    596

    Hashtable in C programming

    Hi,
    can someone explain to me How do I use hashtable in C programming and how is it going at all? How to insert in hashtable? I'm still confused on what's hashtable, is it an array?! thanks !
    By the way I'm not asking to code me a hashtable, just asking how its operational mode works in programming?

  2. #2
    Banned
    Join Date
    Apr 2015
    Posts
    596
    If there's any animation of how to delete, insert , and search into Hashtable would be more than appreciated !

    thanks !

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    A hash-table/hash-map is a data structure that associates "keys" of some type with "buckets" of some other type. In particular, it takes the "key", does some computations to it, and produces an index where the "bucket" is stored. As a result, indexing a hash-table is of constant complexity, independent of its size.

    How you use it depends on the implementation. Take a look at Wikipedia's article.
    Devoted my life to programming...

  4. #4
    Registered User
    Join Date
    Apr 2017
    Location
    Iran
    Posts
    138
    Quote Originally Posted by RyanC View Post
    Hi,
    can someone explain to me How do I use hashtable in C programming and how is it going at all? How to insert in hashtable? I'm still confused on what's hashtable, is it an array?! thanks !
    By the way I'm not asking to code me a hashtable, just asking how its operational mode works in programming?
    Chess programming hash table.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. hashtable with seg fault
    By yen in forum C Programming
    Replies: 1
    Last Post: 10-16-2010, 02:34 AM
  2. Hashtable v.s. Dictionary
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 06-06-2008, 02:09 AM
  3. HashTable help?
    By -EquinoX- in forum C Programming
    Replies: 66
    Last Post: 03-31-2008, 12:15 AM
  4. HashTable in a struct
    By Shotgun in forum C Programming
    Replies: 1
    Last Post: 05-31-2006, 10:00 PM
  5. game hashtable
    By disks86 in forum C++ Programming
    Replies: 1
    Last Post: 12-16-2005, 01:42 PM

Tags for this Thread