From a678f8c15a6e6ca89e0219debf40343a70360bf4 Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Sat, 5 Sep 2020 10:50:06 +0530 Subject: [PATCH] minor changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffeec92..af20fc3 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ This was a nice project and taugh me many things. Given below are some miraculou #include inline bool isNumber(std::string str) { - return (!str.empty && std::all_of(str.begin(), str.end(), ::isdigit)); + return (!str.empty() && std::all_of(str.begin(), str.end(), ::isdigit)); } ``` 2. Trim a string of spaces, tabs, carrige return, vertical tabs, newline chars.