Skip to content

Instantly share code, notes, and snippets.

View squillace91's full-sized avatar
🚀
building cool things

João S squillace91

🚀
building cool things
  • BC, Canada
  • 03:47 (UTC -07:00)
View GitHub Profile
@squillace91
squillace91 / b_tree_atual.c
Last active December 15, 2015 08:09
B_tree funcionando tudo certinho, mas quando voce busca e depois insere, é inserido um lixo no final. ela está tratando a incializacao.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "stdio.h"
#include "sys/stat.h"
#include "fcntl.h"
#include "b_tree_atual.h"
// Ponteiro Global do Arquivo de Indice e Raiz, usado em todas as funções praticamente
FILE *btfd; /* global file descriptor for "btree.dat" */
@squillace91
squillace91 / gist:2190806
Created March 25, 2012 02:23
Lab_AEDII_Lista04Exercicio01
/*
* File: L04E02 (Fibonacci)
* Author: squillace91
*
* Created on 23 de Março de 2012, 15:25
*/
#include <stdio.h>
#include <stdlib.h>