06 2017 档案
Linux下C++动态加载so 调用方法
摘要:Windows 下的 C++动态加载DLL调用方法 文献参考 http://man7.org/linux/man-pages/man0/dlfcn.h.0p.html http://man7.org/linux/man-pages/man3/dlopen.3.html http://tldp.org
阅读全文
C++ 不定参数"..."的使用
摘要:#include #include #include #define LEN_MSG_BUFFER 128 using namespace std; void Message(int nLevel, const char *szFormat, ...) { char* szData = new char[LEN_MSG_BUFFER](); t...
阅读全文
rhel7 编写CMakeList.txt编译运行MySQL官方例子代码
摘要:注:若需要参考rhel7上安装MySQL 请 点击此处 1.下面MySQL链接库版本用到了boost(若需要请到官网下载最新链接库和文档和C++连接数据库操作示例) Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit), Compress
阅读全文
记录下 rhel 7 安装MySQL 并重置root密码
摘要:注意官方是很不提倡用root的。 下载并安装MySQL 最新的rpm地址 https://dev.mysql.com/downloads/repo/yum/ 重置root密码
阅读全文