Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct zestaw {
- string imie;
- int wiek;
- };
- int main()
- {
- cout<<"podaj liczbe ludzikow: ";
- cin>>liczba;
- zestaw *wzestaw = new zestaw[liczba];
- for (int i=0; i<liczba; i++){
- cin>>wzestaw[i].imie;
- }
- for (int i=0; i<liczba; i++){
- cout<<wzestaw[i].imie;
- }
Add Comment
Please, Sign In to add comment