nc print person

This commit is contained in:
vrd
2022-12-17 18:12:16 +02:00
parent 87dc80c9f8
commit 0da0f98dc9
5 changed files with 15 additions and 7 deletions
+5 -1
View File
@@ -440,13 +440,17 @@ void Tree::removeRelation(const unsigned firstId, const unsigned secondId)
}
}
void Tree::draw() const
{
}
void Tree::print() const
{
//for(const auto& member: people)
// member.print();
for(int i=0; i<numPeople;++i)
people[i].print();
people[i].print();
}
void Tree::printRel(const unsigned id)const