commit 96970c31c671030214c09a2d77b89e9d1ded75fe parent e7ef08aff0675170e35889209d407ef3d1dcb9b7 Author: Georges Dupéron <jahvascriptmaniac+github@free.fr> Date: Sun, 26 Sep 2010 01:04:31 +0200 Initialisation de la bibliothèque SDL. Diffstat:
| M | main.c | | | 10 | ++++++++-- |
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c @@ -1,5 +1,11 @@ #include <stdio.h> +#include <SDL/SDL.h> -int main() { - printf("hello world\n"); +int main(int argc, char** argv) { + SDL_Init(SDL_INIT_VIDEO); + + + + SDL_Quit(); + return 0; }