Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Element::wyswietlStan()
- {
- cout << "Kolor linii: " << color << endl << "Kolor wypelnienia: " << fill << endl << "Grubosc lini: " << border << endl;
- }
- template <class TYP>
- void Kontener<TYP>::wyswietlWszystkieObiekty(){
- if (liczba_elementow != 0)
- for (int i = 0; i < liczba_elementow; i++){
- //cout << "Obiekt nr " << i << endl
- cout << "Obiekt nr " << indexOf((*this)[i]) << endl;
- (*this)[i].wyswietlStan();
- }
- else
- cout << "Brak obiektow." << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement