长风破浪会有时,直挂云帆济沧海

Dream Word

博客园 首页 新随笔 联系 订阅 管理
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页

2018年7月6日 #

摘要: //Dom方式更改节点信息 bool XmlTools::SetValue(QString name,float exposure,float gain,float gamma,int brightness) { #if 0 QFile file("fileName.xml"); if (!file.open(QIODevice::WriteOnly | QIODevice::T... 阅读全文
posted @ 2018-07-06 17:56 长风II 阅读(110) 评论(0) 推荐(0) 编辑

2018年6月29日 #

摘要: 排序+查找void X_Sort(ElelmentType A[], int N) 简单排序1:冒泡排序(每次最大的到最后) void Bubble_Sort(ElementType A[],int N) { for(P = N-1; P >= 0;P--) { flag = 0; for(i = 阅读全文
posted @ 2018-06-29 16:28 长风II 阅读(81) 评论(0) 推荐(0) 编辑

摘要: 1:创建数据库 create database runoob;2:删除数据库 drop database runoob;3:选择数据库 use runoob;4:数据类型 数值类型: tinyint 1byte smallint 2byte mediumint 3byte int/integer 4 阅读全文
posted @ 2018-06-29 16:27 长风II 阅读(105) 评论(0) 推荐(0) 编辑

2018年6月12日 #

摘要: 1:客户端 2:服务端 阅读全文
posted @ 2018-06-12 15:44 长风II 阅读(373) 评论(0) 推荐(0) 编辑

2018年5月29日 #

摘要: boost 学习笔记 2: timer copy from:http://einverne.github.io/post/2015/12/boost-learning-note-2.html 1:timer 头文件 timer 位于boost命名空间,需要包含头文件 <boost/timer.hpp 阅读全文
posted @ 2018-05-29 14:46 长风II 阅读(310) 评论(0) 推荐(0) 编辑

摘要: 参考原著地址:http://einverne.github.io/post/2015/12/boost-learning-note-1.html 转换对象要求 lexical_cast 对转换对象有如下要求: C++中内建类型(int,double等)和std::string 都是符合三个条件的。 阅读全文
posted @ 2018-05-29 14:28 长风II 阅读(175) 评论(0) 推荐(0) 编辑

摘要: boost 学习笔记 0: 安装环境 最完整的教程 http://einverne.github.io/post/2015/12/boost-learning-note-0.html Linux 自动安装boost sudo apt-get install libboost-all-dev Linu 阅读全文
posted @ 2018-05-29 14:22 长风II 阅读(177) 评论(0) 推荐(0) 编辑

2018年5月21日 #

摘要: 1:环境 MAC+Pycharm 2:Web框架搭建 新建py工程: 工程右键->Open in terminal: django-admin startproject mysite cd mysite python manager.py startapp helloapp 在helloapp代码框 阅读全文
posted @ 2018-05-21 23:11 长风II 阅读(164) 评论(0) 推荐(0) 编辑

2018年5月18日 #

摘要: 线程池的实现 1:自定义封装的条件变量 1 //condition.h 2 #ifndef _CONDITION_H_ 3 #define _CONDITION_H_ 4 5 #include <pthread.h> 6 7 typedef struct condition 8 { 9 pthrea 阅读全文
posted @ 2018-05-18 18:14 长风II 阅读(262) 评论(0) 推荐(0) 编辑

2018年5月15日 #

摘要: MySql 1:连接 1 #include <mysql.h> 2 MYSQL *mysql_init(MYSQL *); 3 MYSQL *mysql_real_connect(MYSQL *connection,const char *server_host,......); 4 void my 阅读全文
posted @ 2018-05-15 17:59 长风II 阅读(131) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 15 下一页