Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
loyc12 committed Sep 4, 2023
1 parent 78cf9a2 commit 6411e28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mod5/ex02/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ int main(void)

b.executeForm(f);

// f.drawArea(); // in writeArea() already

std::cout << " > " << f << std::endl << " > " << b << std::endl << std::endl;
}
sleep(1);
Expand All @@ -214,6 +216,8 @@ int main(void)
std::cerr << "Error : " << e.what() << std::endl;
}

f.drawArea();

std::cout << " > " << f << std::endl << " > " << b << std::endl << std::endl;
}
sleep(1);
Expand All @@ -237,6 +241,8 @@ int main(void)
std::cerr << "Error : " << e.what() << std::endl;
}

f.drawArea();

std::cout << " > " << f << std::endl << " > " << b << std::endl << std::endl;
}
sleep(1);
Expand Down Expand Up @@ -267,6 +273,8 @@ int main(void)
std::cerr << "Error : " << e.what() << std::endl;
}

f.drawArea();

std::cout << " > " << f << std::endl << " > " << b << std::endl << std::endl;
}
std::cout << std::endl << "E O================================================================O" << std::endl << std::endl;
Expand Down

0 comments on commit 6411e28

Please sign in to comment.