Hallo, guten Tag.
Wie kann man bitte den wert " punkt" im "struct pixel" in der main-schleife laufend ändern?
Danke.
Grusss
C
- #include <geos.h>
- #include <conio.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <ctype.h>
- #include <peekpoke.h>
- struct window wholeScreen = {0, SC_PIX_HEIGHT-1, 0, SC_PIX_WIDTH-1};
- struct pixel punkt = {200,150};
- int main(void)
- {
- SetPattern(0);
- InitDrawWindow(&wholeScreen);
- Rectangle();
- DrawPoint(DRAW_DRAW ,&punkt );
- cgetc ();
- return 0;
- }
Danke.
Gruss