nc print person
This commit is contained in:
@@ -5,11 +5,13 @@
|
||||
|
||||
using std::cin;
|
||||
using std::cout;
|
||||
|
||||
int main()
|
||||
{
|
||||
setlocale(LC_ALL, "");
|
||||
initscr(); /* Start curses mode */
|
||||
noecho();
|
||||
cbreak(); /* get input instantly */
|
||||
refresh(); /* if not present the first real refresh is missed */
|
||||
|
||||
/*Tree test1("Dechkovi"); //addTree Dechkovi addTree Karamanovi load 0 load 1 (to work with these example trees)
|
||||
Tree test2("Karamanovi");
|
||||
@@ -51,10 +53,11 @@ int main()
|
||||
firstTree.addRelation(2, Brother, 3);
|
||||
firstTree.addRelation(2, Brother, 4);
|
||||
|
||||
firstTree.print();
|
||||
/* firstTree.print(); */
|
||||
firstTree.draw();
|
||||
firstTree.saveTree();
|
||||
|
||||
firstTree.printRel(3);
|
||||
/* firstTree.printRel(3); */
|
||||
firstTree.printOldestAncestors(3);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user