Facebook
From Idiotic Baboon, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 281
  1. #define pozycjaPG "PG"
  2.  
  3. void wybierzzawodnika (struct zawodnik *tab)
  4. {
  5.     int i;
  6.     printf ("Wybierz PG: \n");
  7.     for (i=0;i<150;i++)
  8.     {
  9.         if ((strcmp(pozycjaPG, tab[i].pozycja))== 0)
  10.         {
  11.             printf("%s %s \n", tab[i].nazwa, tab[i].pozycja);
  12.         }
  13.     }
  14. }
  15.