码迷,mamicode.com
首页 >  
搜索关键字:cxx    ( 165个结果
Ubuntu下wxWidgets学生信息管理sqlite3(C++)
main.cxx#include #include #include #include using namespace std; int main() { sqlite3* file; int flag; flag = sqlite3_open("./stu.db", &file); if(...
分类:数据库   时间:2014-06-29 14:36:03    阅读次数:254
g++基本用法
用法:g++[选项]文件... g++编译流程:      [cpp] view plaincopyprint? main.cxx  #include      using namespace std;    int main(void)  {          cout"Hello World!"        return 0;  }   m...
分类:其他好文   时间:2014-06-22 00:48:48    阅读次数:214
MongoDB数据库CXX Driver编译
最近项目需要,想要测试下MongoDB读写大量小图片的速度(单纯文件系统io效率比较低,想试试NoSQL能不能提速), 因为使用C++开发,所以使用MongoDB的CXX驱动,需要自己编译,下面记录整个编译过程CXX Driver下载从Github的MongoDB官方源中下载https://gith...
分类:数据库   时间:2014-06-20 19:20:58    阅读次数:302
使用模板元编程操作类型集合(C++11下的TypeList)
Wrote by mutouyun. (http://darkc.at/cxx-type-list/) 群里有个朋友要实现这么一个功能:如何在编译期把一个函数类型的参数减少一个。 简单来说,就是实现下面这个模板: remove_func_par::type; // type = void(int, long) 根据输入的编译期整数,把函数参数表里对应的参数干掉一个。 为了实现...
分类:编程语言   时间:2014-06-05 06:04:09    阅读次数:273
MongoDB 4.6.1 c++ driver 编译
这个版本已经和之前不一样了,有专门的github的项目。https://github.com/mongodb/mongo-cxx-driver首先获取源代码:git clone https://github.com/mongodb/mongo-cxx-driver.git然后切换分支:git checkout 26compat然后用下面的命令编译:scons --prefix=/usr --use...
分类:数据库   时间:2014-05-11 01:40:46    阅读次数:379
165条   上一页 1 ... 15 16 17
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!