about summary refs log tree commit diff stats
path: root/cpp/001test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/001test')
-rw-r--r--cpp/001test6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/001test b/cpp/001test
index 8222adcd..92cbe9cf 100644
--- a/cpp/001test
+++ b/cpp/001test
@@ -91,6 +91,9 @@ int to_int(string n) {
 }
 
 :(before "End Includes")
+#include<assert.h>
+#include<cstdlib>
+
 #include<iostream>
 using std::istream;
 using std::ostream;
@@ -100,3 +103,6 @@ using std::cout;
 using std::cerr;
 
 #include<cstring>
+#include<string>
+using std::string;
+#define NOT_FOUND string::npos  // macro doesn't complain about redef