00001 #ifndef Pv_Misc_Included
00002 #define Pv_Misc_Included
00003
00004 #include <iostream>
00005 #include <fstream>
00006 #include <string>
00007 #include <cstdio>
00008 #include <stdexcept>
00009
00010
00011
00012
00013
00014 #define sneak std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":\n";
00015
00016 #define tsneak try{
00017
00018 #define csneak } catch(std::out_of_range){ std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":"; std::cout<<"OUT OF RANGE\n"; }
00019
00020 #define pv_stick std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":stick";getchar();
00021
00022
00023
00024
00025
00026
00027 const double GN=1.618033989;
00028
00029 #endif
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047