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