src/db/cache.cpp
void cache::setInitDB(){
   string tempcache = TEMPCACHE;
   ofstream myfile;
   string cache = getenv("HOME") + tempcache;
   myfile.open (cache.c_str());
   myfile << DBlocation.c_str();
   myfile.close();
}
/// set initial db file in text cache
set initial db file in text cache
set initial db file in text cache
void cache::setInitDB(){
   string tempcache = TEMPCACHE;
   ofstream myfile;
   string cache = getenv("HOME") + tempcache;
   myfile.open (cache.c_str());
   myfile << DBlocation.c_str();
   myfile.close();
}
void cache :: setInitDB ( ) { string tempcache = TEMPCACHE ; ofstream myfile ; string cache = getenv ( " " ) + tempcache ; myfile . open ( cache . c_str ( ) ) ; myfile << DBlocation . c_str ( ) ; myfile . close ( ) ; }
set initial db file in text cache
set initial db file in text cache