Skip to content

Instantly share code, notes, and snippets.

View mbelicki's full-sized avatar

Mateusz Belicki mbelicki

View GitHub Profile
@mbelicki
mbelicki / stack.c
Created September 14, 2011 16:33 — forked from kgabis/stack.c
Linked stack in C
#include "..\Header\stack.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
void stackpush(Stack ** stack, int value)
{
assert(stack != NULL);
/* perhaps there is way to do it without this if ... else */