#include "stdafx.h"
#include <string.h>
#include <stdlib.h>
void
print(
int
a[][33])
{
system
(
"cls"
);
int
i, j;
for
(i = 0; i < 13; i++)
{
for
(j = 0; j < 33; j++)
{
if
(a[i][j] == 0)
printf
(
""
);
if
(a[i][j] == 1)
printf
(
"*"
);
}
printf
(
"\n"
);
}
}
void
main()
{
int
scr[13][33] = { 0 };
int
proistion_x, proistion_y;
proistion_x = 5;
proistion_y = 20;
scr[proistion_x][proistion_y] = 1;
print(scr);
while
(proistion_x < 13)
{
scr[proistion_x][proistion_y] = 0;
proistion_x++;
scr[proistion_x][proistion_y] = 1;
print(scr);
}
}