From eba9f0fc7092eb1e4ab2f3c016cf0ebbfecb21c2 Mon Sep 17 00:00:00 2001 From: luongd123 Date: Fri, 17 Jan 2025 14:52:31 +0700 Subject: [PATCH] validday update --- PROJECT_FINAL.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/PROJECT_FINAL.cpp b/PROJECT_FINAL.cpp index fd5ebf6..a645cd6 100644 --- a/PROJECT_FINAL.cpp +++ b/PROJECT_FINAL.cpp @@ -28,21 +28,6 @@ void standardize_Date(string &date){ } } -bool isDouble(const std::string& s) { - std::stringstream ss(s); - double value; - char extra; - - if (!(ss >> value)) { - return false; - } - - if (ss >> extra) { - return false; - } - - return true; -} bool isLeapYear(string year) { int yearInt = stoi(year);