Created
February 3, 2017 07:22
-
-
Save simplexityx/ebf7ca781f13aca384ff2e51e2f4a16f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "set.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
int what(void* a, void *b){ | |
return 0; | |
} | |
int main(){ | |
set_t *nT=set_create(what); | |
void* a = 5; | |
void* b = 4; | |
int c = 3; | |
int d = 2; | |
set_add(nT, &d); | |
printset(nT); | |
//printTree(nT); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment