摘要:
#include #include using namespace std;class Product{public: virtual ~Product() {} virtual int Interface()=0;};class ConcreteProductA : public Pr... 阅读全文
摘要:
class Singleton{public: ~Singleton(); static Singleton* GetInstance();private: Singleton(); static Singleton* m_pInstance; static pthre... 阅读全文
摘要:
int main(int argc, char *argv[]){#define WINDOW_BG FL_BLACK#define WINDOW_WIDTH 640#define WINDOW_HEIGHT 480#define BOX_WIDTH 100#define BOX_HEIGHT 40... 阅读全文
摘要:
Big/Little Endian 阅读全文
摘要:
class Base64{public: static string Encrypt(string sPlainText); static string Decrypt(string sCipherText);private: static int ConvertToIndex(u... 阅读全文