diff options
| author | Fuwn <[email protected]> | 2022-05-24 21:04:24 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-24 21:04:24 -0700 |
| commit | 2140c31b33ecca8fd55730cb640d8f39a558515a (patch) | |
| tree | 7eb5b9c0bf556983422e98ad4c53d9c044d98a8e | |
| parent | chore(scripts): move format task to ninja (diff) | |
| download | wk7_platypusproject-2140c31b33ecca8fd55730cb640d8f39a558515a.tar.xz wk7_platypusproject-2140c31b33ecca8fd55730cb640d8f39a558515a.zip | |
format(platypus): grammar
| -rw-r--r-- | platypus/platypus.cpp | 2 | ||||
| -rw-r--r-- | platypus/testPlatypus.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/platypus/platypus.cpp b/platypus/platypus.cpp index 5dcc66a..0c8f834 100644 --- a/platypus/platypus.cpp +++ b/platypus/platypus.cpp @@ -88,7 +88,7 @@ Platypus Platypus::hatch() const { std::ifstream namesFile; std::vector<std::string> names; - // If the platypus is is male, pick a random male name; ... + // If the platypus is male, pick a random male name; ... if (newGender) { namesFile.open("mnames.txt"); } else { diff --git a/platypus/testPlatypus.cpp b/platypus/testPlatypus.cpp index 7085545..f5bed83 100644 --- a/platypus/testPlatypus.cpp +++ b/platypus/testPlatypus.cpp @@ -41,7 +41,6 @@ int main() { p1.eat(); cout << "Platypus #1 weight after eating: " << p1.getWeight() << endl; - cout << "\nPlatypus #1 before aging: " << p1.getAge() << ", old mutant status: " << p1.getMutant() << ", old alive status: " << p1.getAlive() << endl; |