# include <stdio.h>
# include <stdlib.h>

void sierpinski(unsigned int n) {
	if (n == 0) {
		DessinerSegment(100,800,800,800);
		DessinerSegment(450,100,100,800);
		DessinerSegment(450,100,800,800);
	}
	/* TODO */
}

int main(int argc, char** argv) {
	InitialiserGraphique();
	CreerFenetre(200, 200, 900, 900);
	sierpinski((int) strtol(argv[1], NULL, 10));
	while (1) {
		/* Infini */
	}
	return EXIT_SUCCESS;
}