Singleton concept for implemented configuration of code.C++ can
created instance of object after new driven class.
//main idea for create only one instace for config
//create instance
ConnectionDb &ConnectionDb::instance(){
if( !instance_ ){
instance_ = new ConnectByControlOne;
return *instance_;
}
}
Test source code after compiled Mongodb package for Linux.See below,It's show debug run by localhost.
From chatsiri.com
After write example code by Singleton concept.Code example [main],[connectiondb.cpp],[connectiondb.h]
From chatsiri.com
No one expect after play football with old friend( CPESRC'47 ).My
finger have symptom of broken bone.Doctor suggested splint of my
finger.Start time for splint my finger at January( New Year - -") to
February.It's not easy for touch-type for write code.This is end of time splint finger.
From chatsiri.com




