Skip to content

Instantly share code, notes, and snippets.

@jlsilva1994
jlsilva1994 / avl_strings.c
Last active September 16, 2025 02:56 — forked from tonious/avl.c
A quick AVL tree implementation in c, to store Strings.
/*********************************************************************************************
José Luis Silva
Some alterations to the original to permit save strings (char*) in the AVL instead of integers
Just to complete your repository and save some time to other people like me :-)
**********************************************************************************************/
//#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
@jlsilva1994
jlsilva1994 / .cproject
Created April 22, 2017 15:05 — forked from weskerhluffy/.cproject
A quick AVL tree implementation in c.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.config.gnu.macosx.exe.debug.731461427">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.macosx.exe.debug.731461427" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>