summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-05-13 20:32:22 +0200
committerPatrick Simianer <p@simianer.de>2015-05-13 20:32:22 +0200
commit4a533bed131d68edbbc193263c4abe2a0d7257f6 (patch)
tree4d08109fb25096f5870e22f1cd20a1ec881e76a7
parente76d0b1194c912f7329908d6f799eeccf9ab5456 (diff)
type_max.cc
-rw-r--r--c,cc/type_max.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/c,cc/type_max.cc b/c,cc/type_max.cc
new file mode 100644
index 0000000..5f59313
--- /dev/null
+++ b/c,cc/type_max.cc
@@ -0,0 +1,20 @@
+/*
+ * template.cpp
+ *
+ * Patrick Simianer <p@simianer.de>
+ * YYYY-MM-DD
+ */
+
+#include <iostream>
+#include <limits>
+
+using namespace std;
+
+
+int main(int argc, char const* argv[])
+{
+ cout << std::numeric_limits<int>::max() << endl;
+
+ return 0;
+}
+