All pastes #924103 Raw Edit

woot2

public text v1 · immutable
·published 2008-03-01 02:42 UTC
rendered paste body
#include "point.h"
#include <iostream>
using namespace std;

int main(){
	point* a = new point(1);
	point* b = new point(2);
	point* c = new point(3);
	point* d = new point(4);
	point* e = new point(5);
	point* f = new point(6);
	point* g = new point(7);
	point* h = new point(8);
	a->setEast(b);
	a->setSouth(c);
	a->setWest(f);
	f->setNorth(g);
	f->setEast(a);
	c->setNorth(a);
	c->setEast(h);
	b->setNorth(d);
	b->setEast(e);
	b->setSouth(h);
	b->setWest(a);
	h->setNorth(b);
	h->setWest(c);
	d->setSouth(b);
	e->setWest(b);
	g->setSouth(f);

	


}