summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+}
+