Skip to content

Instantly share code, notes, and snippets.

@simplexityx
Created February 3, 2017 07:22
Show Gist options
  • Save simplexityx/ebf7ca781f13aca384ff2e51e2f4a16f to your computer and use it in GitHub Desktop.
Save simplexityx/ebf7ca781f13aca384ff2e51e2f4a16f to your computer and use it in GitHub Desktop.
#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