Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int numer_1, numer_2;
- cout << "Ktora osobe chcialbys poddac przypisaniu?" << endl;
- cin >> numer_1;
- cout << "Ktora osoba ma byc wzorem?" << endl;
- cin >> numer_2;
- numer_1 = numer_1 - 1;
- numer_2 = numer_2 - 1;
- Osoba::Wypisz_dane(lista, numer_1);
- system("pause");
- system("cls");
- lista[numer_1] = lista[numer_2];
- Osoba::Wypisz_dane(lista, numer_1);
- system("pause");
- system("cls");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement