summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-08-30 21:09:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-08-30 21:09:52 +0900
commite4fd51195d742924128d8576f4bd22b33ba8febb (patch)
treea4104ad086c93e31f74f10156d12b5ca83df7564
parent366e2e8f795e82e2c8472bcf1cd0a892550789a9 (diff)
Remove unused file
-rw-r--r--test.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/test.cc b/test.cc
deleted file mode 100644
index d39babdd..00000000
--- a/test.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <iostream>
-#include <algorithm>
-
-int main() {
- std::string filepath = "/ahue/hue/hue/kuk.jpg";
- auto fn = filepath;
- std::string ext;
- auto idx = fn.find_last_of(".");
- auto slash = fn.find_last_of("\\/");
- if (idx != std::string::npos && (slash == std::string::npos || slash < idx)) {
- ext = fn.substr(idx);
- fn = fn.substr(0, idx);
- }
- std::cout << "fn:" << fn << " ext:" << ext;
- return 0;
-}