bon, c cense afficher un pixel....
#include <allegro.h>
int main(void)
{
BITMAP *buffer;
allegro_init();
install_keyboard();
set_gfx_mode(GFX_VGA, 320, 200, 0, 0);
buffer = create_bitmap(320, 200);
do
{
putpixel(buffer, 100, 100,79);
}
while(!key[KEY_ESC]);
remove_keyboard();
allegro_exit();
}
---------------
Do you serve a purpose,Or purposely serve?