Quick actions

cmd+k|ctrl+k

Navigation

Languages

Hash Table Grouped

Snippet info

Language

Cpp

Visibility

public

Author

evine

Created

2016-10-27T15:59:37Z

Updated

2016-10-27T15:59:37Z

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h> 
#include <string.h>
#include <assert.h>

#include "ev_small_function.hpp"
#include "ev_alloc.hpp"
#include "ev_string.hpp"
#include "hash_table_core.hpp"

#define VAR_NAME int
#define VAR_TYPE int
#include "hash_table.hpp"


int main() {
    
    hash::Table__int a = hash::table_init__int();
    
    a.insert(ev::string_init("Hei"), 32);
    a.insert(ev::string_init("Hallo"), 91);
    
    
    printf("%i", a.get(ev::string_init("Hei")));
    
    return 0;
}
INFO