Ce programme montre comment il est possible de récupéré les caractères accentués provenant d'une entree clavier.
#include <stdlib.h>
int main(int argc, char *argv[]){
int unicode;
char* text;
int width, height;
width = 640;
height = 480;
"medium - 9 - keyboard accents", "keyboard accents", width, height
);
10, 10,
"Vous pouvez faire apparaitre les caractères accentué !",
);
while( touche != MLV_KEYBOARD_ESCAPE ){
free( text );
}
return 0;
}