16 lines
267 B
C
16 lines
267 B
C
|
|
||
|
#include<stdlib.h>
|
||
|
#include<graph.h>
|
||
|
|
||
|
int main(void) {
|
||
|
couleur c;
|
||
|
InitialiserGraphique();
|
||
|
CreerFenetre(10,10,500,500);
|
||
|
c=CouleurParNom("red");
|
||
|
c=CouleurParComposante(255,0,0);
|
||
|
|
||
|
Touche();
|
||
|
FermerGraphique();
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|