Advertisement
KlimexuS

Untitled

Jan 5th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #define RozmiarTablicy 1000
  4.  
  5. void add(struct struktura* dodaj);
  6. void rew(struct struktura* odwroc);
  7.  
  8. struct struktura
  9. {
  10. int tab[RozmiarTablicy];
  11. int LiczbaElementow;
  12. int schowek[RozmiarTablicy];
  13. int LiczbaKopiowanych;
  14. }
  15.  
  16. int main()
  17. {
  18. struct struktura lista;
  19. printf(add);
  20.  
  21. }
  22.  
  23. void add(struct struktura* dodaj)
  24. {
  25. scanf("%d", dodaj->tab[LiczbaElementow]);
  26. dodaj->liczbaElementow++;
  27. }
  28.  
  29. void rew(struct struktura* odwroc)
  30. {
  31. int a;
  32. int b;
  33. scanf("%d %d", a, b);
  34. for(a; i<a+(a-b)/2; i++;
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement