Browse Source

Methode f. Erst. des Korbs angelegt /aufgerufen

main
fdai7103 2 years ago
parent
commit
c87ea74b2b
  1. 12
      src/Paper-Bin.c

12
src/Paper-Bin.c

@ -2,6 +2,16 @@
char field[23][29]; char field[23][29];
void buildBin(int width, int heigth){
field[width][heigth] = 'V';
field[width+1][heigth+1] = '\\';
field[width+2][heigth+2] = '\\';
field[width-1][heigth+1] = '/';
field[width-2][heigth+2] = '/';
field[width][heigth+1] = ' ';
}
int main() int main()
{ {
while (1) while (1)
@ -16,6 +26,8 @@ int main()
} }
} }
buildBin(10,10);
for (int i = 0; i < 29; i++) for (int i = 0; i < 29; i++)
{ {
printf("|"); printf("|");

Loading…
Cancel
Save