Hallo nochmal Dreamforger,
An deinen Quelltext bin ich leider nicht rangekommen, die seite konnte nicht angezeigt werden kam immer, aber dnnoch hast Du mich mit dein vorigen ausführungen auf eine Idee gebracht:
Was hällst Du von diesem Quelltext!?
#define TEMPO 15000000
#define BIL _clearscreen(_GCLEARSCREEN)
void ausgeben(void);
struct rccoord position_aktuell;
void main(void)
{
unsigned long int i;
int j;
setbuf(stdout, NULL);
BIL;
do
{
_settextposition(8,8);
for(j = 1; j {
ausgeben();
for(i=1;i }
}while(!kbhit());
}
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
void ausgeben(void)
{
char array[10] = {'O', 'O','O','O','O','O','O','O','O','O'};
int i,j, y_pos, x_pos;
char *z_array;
z_array = &array[0];
position_aktuell = _settextposition(8,8);
x_pos = position_aktuell.row;
y_pos = position_aktuell.col;
for(i=10; i>=0;i--)
{
if(i == 3)
y_pos = y_pos -1;
_settextposition(x_pos, y_pos );
for(j=1; j {
printf(" %4c ", z_array[j]);
}
}
}
Jetzt habe ich es endlich :-)
Gruß Thorsten