Skip to content

Instantly share code, notes, and snippets.

View ardrabczyk's full-sized avatar

Arkadiusz Drabczyk ardrabczyk

View GitHub Profile
@ardrabczyk
ardrabczyk / stack.c
Created September 1, 2015 10:08
C stack implementation
#include <stdio.h>
#include <stdlib.h>
#define _E(msg, args...) \
do{ \
printf( "[ERROR][%s][%d]: ", __FUNCTION__, __LINE__); \
printf( (msg), ##args); \
}while(0)
struct stack