aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 12:18:46 +0300
committerJan Tuomi <jan-sebastian.tuomi@aalto.fi>2016-10-09 14:50:24 +0300
commita16e59737d6d1cd89cd870f872331ec806e22c78 (patch)
treea73c58e1850736f6a9b86d526c717c0829f0312d /main.cpp
parent773c1e2aaafbde4ef9d64ea03e19922a3652b010 (diff)
Initial commit
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..b0846a7
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+
+int main(int argc, char** argv) {
+ if (argc < 2) {
+ std::cout << "Please provide a file path.";
+ return 1;
+ }
+
+ std::string filepath(argv[1]);
+
+ return 0;
+}