30 lines
569 B
C
30 lines
569 B
C
|
#include<stdlib.h>
|
||
|
#include<stdio.h>
|
||
|
#include<graph.h>
|
||
|
#include<time.h>
|
||
|
|
||
|
#define H 40
|
||
|
#define L 60;
|
||
|
|
||
|
void graphique(int n){
|
||
|
couleur c;
|
||
|
char buf[100];
|
||
|
c=CouleurParNom("green")
|
||
|
}
|
||
|
int main(void){
|
||
|
graphique();
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|
||
|
|
||
|
InitialiserGraphique();
|
||
|
CreerFenetre(1700,950,1700,950);
|
||
|
couleur c, b;
|
||
|
b=CouleurParComposante(0,0,0);
|
||
|
ChoisirCouleurDessin(b);
|
||
|
RemplirRectangle(0,0,1750,950);
|
||
|
c=CouleurParComposante(111,255,94);
|
||
|
ChoisirCouleurDessin(c);
|
||
|
RemplirRectangle(100,100,1500,750);
|
||
|
Touche();
|
||
|
FermerGraphique();
|