diff options
Diffstat (limited to 'myfuncs.cpp')
-rw-r--r-- | myfuncs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/myfuncs.cpp b/myfuncs.cpp index 4e28976..cbe8c2f 100644 --- a/myfuncs.cpp +++ b/myfuncs.cpp @@ -11,6 +11,7 @@ #include <netdb.h> #include <cstring> #include <dlfcn.h> +#include <cstdlib> #include "myfuncs.h" @@ -226,3 +227,9 @@ int numchanperm (string m) return 0; } } + +void panic() +{ + cout << endl << "DrunkenMan panicked and commited suicide." << endl; + exit(1); +} |