Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #define RozmiarTablicy 1000
- void add(struct struktura* dodaj);
- void rew(struct struktura* odwroc);
- struct struktura
- {
- int tab[RozmiarTablicy];
- int LiczbaElementow;
- int schowek[RozmiarTablicy];
- int LiczbaKopiowanych;
- }
- int main()
- {
- struct struktura lista;
- printf(add);
- }
- void add(struct struktura* dodaj)
- {
- scanf("%d", dodaj->tab[LiczbaElementow]);
- dodaj->liczbaElementow++;
- }
- void rew(struct struktura* odwroc)
- {
- int a;
- int b;
- scanf("%d %d", a, b);
- for(a; i<a+(a-b)/2; i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement