fix example

This commit is contained in:
vrd
2023-02-14 11:22:45 +02:00
parent e57affde26
commit f0290d21da
4 changed files with 26 additions and 8 deletions
+1 -7
View File
@@ -34,10 +34,6 @@ int main()
/* test1.addRelation(0, Spouse, 1); */
/* test1.addPerson("Venelin", true, 0, 1, {1998, 6, 9}); */
/* test1.addPerson("Vasil", true, 0, 1, {2001, 1, 16}); */
/* test1.addRelation(2, Brother, 3); */
/* test1.addPerson("Maria-Veronika", 2009, 9, 3, 1, 0, 1); */
/* test1.addRelation(2, Brother, 4); */
/* test1.addRelation(3, Brother, 4); */
test1.saveToFile();
test2.addPerson("Vasil Dimitrov", true, Nobody, Nobody, {1941, 5, 18});
@@ -45,12 +41,10 @@ int main()
test2.addRelation(0, Spouse, 1);
test2.addPerson("Dimitar", true, 0, 1);
test2.addPerson("Nadejda", false, 0, 1, {1972, 12, 15});
/* test2.addRelation(2, Brother, 3); */
test2.addPerson("Branimira", false);
test2.addRelation(2, Spouse, 4);
test2.addRelation(2, Spouse, 4);
test2.addPerson("Ioan", true, 2, 4);
test2.addPerson("Rumiana", false, 2, 4);
/* test2.addRelation(5, Brother, 6); */
test1.display();
test2.display();