Skip to content

Instantly share code, notes, and snippets.

@ruanchao
ruanchao / list.c
Created June 26, 2012 06:24
Link list - C
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
typedef struct node_t
{
int value;
struct node_t *next;
}node_t;
@ruanchao
ruanchao / gist:2628718
Created May 7, 2012 16:16
Java:makefile
GS = -g
JC = javac
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
CLASSES = \
Server.java \
Client.java \